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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
yk98
Frequent Visitor

How can I only show the latest accuracy number in a card visual?

Hi,

I am using the card visual in PBI desktop to display the latest testing accuracy of my model as shown in the table below:

yk98_0-1679915958007.png

 

The issue: I want the latest (date wise) accuracy to be shown in the viz based on the date button selection, so I don't want the test_acc to be aggregated in any way. 

yk98_1-1679916315112.png

If i select 11th Feb, I should get 94.15%, 14th Mar > 88.31%, 24th Mar> 89.54%. And when the select all button is toggled, I want the accuracy to remain 89.54% (because thats the accuracy as of 24th Mar).

 

How can I do this. Thanks in advance!!!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@yk98 ,

 

calculate(lastnonblankvalue(Table[Training_date], max(Table[Text_acc]) )

View solution in original post

2 REPLIES 2
yk98
Frequent Visitor

Thanks, this works!

amitchandak
Super User
Super User

@yk98 ,

 

calculate(lastnonblankvalue(Table[Training_date], max(Table[Text_acc]) )

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.