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
Anonymous
Not applicable

Show data only latest date in Card visualizations

Hi All,

 

Please help me with how to display the latest values in Card visualizations for all columns. I have created a card visual for all columns individually. If I select the 31st Mar date, the value does not display selected date value in all visuals. 

 

DateIncSRChCtPrReqInct%Srs%AttNor%Count
30/03/2020000081326.50%1.67%0100%0
31/03/2020000051382.13%2.89%0100%0
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous 

Create Measure like this


Measure1 =
var _max = maxx(Table,Table[Date])
return
calculate([Measure],filter(Table,Table[Date] =_max))

 

Or Create a flag in your table as column

Flag Column=
var _max = maxx(Table,Table[Date])
return
If(Table[Date] =_max,1,0)

 

Use this to filter the data

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous 

Create Measure like this


Measure1 =
var _max = maxx(Table,Table[Date])
return
calculate([Measure],filter(Table,Table[Date] =_max))

 

Or Create a flag in your table as column

Flag Column=
var _max = maxx(Table,Table[Date])
return
If(Table[Date] =_max,1,0)

 

Use this to filter the data

Hello, in your expression what value are you using as measure?

 

calculate([Measure],filter(Table,Table[Date] =_max))

Hi @amitchandak

 

What do you mean by measure in your formula below?

 

Measure1 =
var _max = maxx(Table,Table[Date])
return
calculate([Measure],filter(Table,Table[Date] =_max))

 

I am trying to pull the progress for the latest date in the card visual. However am not getting how to get it.

Please help.

 

allwynbazil_0-1662466074416.png

 

 

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.