Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jwi1
Post Patron
Post Patron

Fill up missing values

Hi all,

 

I have created a new table, which gives me the maximum value of a partnr_creditor per year - month.

 

Looking at the partnumber_sup 008873J (example), I want to fill up the values for the months, which do have no values:

first look for the most recent value;

if not, look for the first-nex value

 

The outcome should be as follows:

Month 1 and 2: show value of month 3 (show first next value)

Month 6, 7 and 8: show value of month 5 (smost recent value)

Month 9: show value of month 8 (show most recent value)

 

Hope you can help me with this, thanks in advance.

 

John

 

test_tabel = 
        SUMMARIZE (
            '* werkblad',
            '* werkblad'[partnr_creditor] ,
            '* werkblad'[invoice_date] ,
            '* werkblad'[invoice_date_jaar] ,
            '* werkblad'[invoice_date_maand] ,
            "part.price.list", LASTNONBLANKVALUE ( '* werkblad'[partnr_creditor], MAX ( '* werkblad'[part.price_list] ) 
)) 

 Knipsel.JPG

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @jwi1 ,

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @jwi1 ,

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Good day @MFelix ,

Thanks fo your nmessage. I was already able to solve this isssue bij myself over the last weekend.

So, problem solved!

John

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.