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
Gustavo98
Helper V
Helper V

Fill in blanks with last non blank value (using DAX measure)

hi everyone,

 

How can i create the following logic?

 

Gustavo98_0-1668783519458.png

 

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

CNENFRNL_0-1668838189138.png

 

CNENFRNL_1-1668838260324.png

 


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

6 REPLIES 6
ThomasCo
New Member

Table was bad to read.

 

ThomasCo
New Member

Date                   Value      Categros
01.01.2020          1             a
....

ThomasCo
New Member

DateValueCategory

01.01.20201a
01.01.20212a
01.01.20223a
01.01.20234a
01.01.202010b
01.02.202120b
01.03.202230b
01.04.202340b
ThomasCo
New Member

Hi,

 

I have a problem with a similar topic. But in my case I have only values for category when I have also a Value. But I still want to have a tabel who have entries for each day 1st of Jan, 2nd of Jan, ... with the las value to get a time series with the SUM by category. For all Dates in the Calendar table that reachts until end of 2023.

 

01.01.20201a
01.01.20212a
01.01.20223a
01.01.20234a
01.01.202010b
01.02.202120b
01.03.202230b
01.04.202340b

 

Have you any idea?

CNENFRNL
Community Champion
Community Champion

CNENFRNL_0-1668838189138.png

 

CNENFRNL_1-1668838260324.png

 


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Gustavo98
Helper V
Helper V

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.

Top Solution Authors