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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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