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
Newbie_1
Frequent Visitor

Dynamic string visual based on slicer selection

Hi everyone,

I have a problem with a DAX measure that does not behave as I am expecting. I want to highlight the current month users are reporting for, but it seems that "LASTROWNONBLANK" does not work for that. It might be due to the fact that the column is of a string type, because if I use the number of the month (7 = July), it works fine. Does anyone know the rootcause of this problem or can suggest an alternative measure?

Thanks!

Working.pngNot working.png

2 REPLIES 2
VijayP
Super User
Super User

Try Sorting Text column (month name) by Month Number and hope this problem may be sorted




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


I already have that setting, unfortunately it doesn't generate the desired outcome but I solved it by using IF statements. Thanks!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.