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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
AShah16
Regular Visitor

Show Mean, Max and Min value for filtered data in a plot

I have a filtered cross plot. The plot can be filtered by users through several filters and slicers. I want a separate table to display the mean, max and min value ,of the x-axis measure,for the filtered points based on all the filters and slicers applied on the plot.  The mean, max and min should get updated as the displayed points change (based on the filters and slicers).

 

How can i get this done ?

 

Plot_Filtered.JPGMean, Mid,Max.JPG

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @AShah16 ,

 

You can create a summaried table by the x-axis measure. Then calculate value for mean, max and min value. You can try something like below:

 

Maxvalue = var a =SUMMARIZE(Table,Table[column1],"_measure",[measure]) return MAXX(a,[_measure])

Meanvalue = var a =SUMMARIZE(Table,Table[column1],"_measure",[measure]) return AVERAGEX(a,[_measure])

Minvalue = var a =SUMMARIZE(Table,Table[column1],"_measure",[measure]) return MINX(a,[_measure])

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

 

View solution in original post

3 REPLIES 3
v-deddai1-msft
Community Support
Community Support

Hi @AShah16 ,

 

It is a sample dax formula, you need to change it based on your actual table name。

 

Best Regards,

Dedmon Dai

 

AShah16
Regular Visitor

Hi @v-deddai1-msft ,

Thanks a lot for your kind reply. In your expression what should i provide as "Table" and "_measure". Somehow when i used the expression it says syntax incorrect for Table.  

 

Thanks 

v-deddai1-msft
Community Support
Community Support

Hi @AShah16 ,

 

You can create a summaried table by the x-axis measure. Then calculate value for mean, max and min value. You can try something like below:

 

Maxvalue = var a =SUMMARIZE(Table,Table[column1],"_measure",[measure]) return MAXX(a,[_measure])

Meanvalue = var a =SUMMARIZE(Table,Table[column1],"_measure",[measure]) return AVERAGEX(a,[_measure])

Minvalue = var a =SUMMARIZE(Table,Table[column1],"_measure",[measure]) return MINX(a,[_measure])

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Carousel June 2024

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

2
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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