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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
kmartink
Frequent Visitor

Display in a card the last non blank value

Hi, I'm using this Data:

kmartink_0-1684307987172.png

 

and would like to build a measure to display in a card the last non blank value per each variable. Any suggestions? Thank you in advance!

1 REPLY 1
ryan_mayu
Super User
Super User

@kmartink 

you can try to create a date column

date = date('Table'[Year],'Table'[Month],1)

then create a measure

measure = CALCULATE(sum('Table'[x]),LASTNONBLANK('Table'[date],CALCULATE(sum('Table'[x]))))

1.PNG





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

Proud to be a Super User!




Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.