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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Frankie_Vannini
Advocate I
Advocate I

Grouping data

Hi there

possibly it is  a silly question however I was not able to find a solution (my fault for sure...)

 

Assuming I have a table with several columns, looking at the example below how can I dinamically grouping data with a result that is grouped by Level, then shows the member and just the cheapest price? in essence the result should display just 3 rows:

High, Dark Blue, 19.3

Medium, Black, 16.1

Low, Blue, 9.8

The purpose is to build  a tooltip report page based on on this logic that shows the result dinamically once the mouse is passed on the chart where the tooltip is linked

 

Thanks in advance

 

F

     
LevelMemberModelPriceOther fields…
HighRedalfa21,4 
HighVioletbeta20,1 
MediumBlackgamma16,1 
HighWhitemickey22,2 
LowBlueomega9,8 
LowBrownice cream15,4 
MediumPinkpizza17,2 
HighDark Bluewater19,3 
LowGreenwine11,3 

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

One way you could do this is to create a filtering measure like:

 

__Show = 
VAR __table = SUMMARIZE(ALL(Table5),[Level],"__Min",MIN([Price]))
VAR __level = MAX([Level])
VAR __price = MAX([Price])
RETURN
IF(__price = MAXX(FILTER(__table,[Level] = __level),[__Min]),1,0)

Then just filter out your 0's.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler 

 

thanks you for your answer

your solutions works perfectly on the report page, where I've the table, so only the cheapest price is displayed for each level however it doesn't work when I use that page as tooltip report page

 

in essence when I move the mouse over the chart linked to that report page as a tooltip, the window is empty, no data displayed. 

 

I've seen this method takes a while on calculating the result on the report page (almost 40M records to check) so possibly it is difficult to manage the result as fast as it should be moving the mouse over the charts data

 

Thanks

 

Krgds

F

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.