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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
nautilusben
Frequent Visitor

AllSelected and Field Parameters Conditional Highlighting

Hi, 

 

Im hoping to get some assistance with a Measure im using to highlight the largest and smallest columns in a  visual.

 

I am running into the follwing issue:

nautilusben_2-1669604194548.png

nautilusben_0-1669604127555.png

I imagine this is largely due to the use of field Parameters to group my Dates,weeks, quarters and years data. Is there a simple solution I can apply to my measure?

 

Ideally returning the following:

 

nautilusben_3-1669604284069.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@nautilusben , Your minx and maxx need to change like

 

calculate( minx(values(Date[Date]), [Measure]), allselected(Date[Date]))

 

and

 

calculate( minx(values(Date[Date]), [Measure]), allselected(Date[Date]))

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak,

 

Thanks for your reply,

 

unfortuantely I am still having difficulty with making this work. I wasnt able to attached the document in this forum space, but have provided a dropbox link below:

 

https://www.dropbox.com/s/0mqrebpjwqpy1gm/Incoming%20Error.pbix?dl=0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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