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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Calculate Max and Min value of subcategory within category on unpivot data with slicer

Hi, 
I need categorywise Max and Min value of aggregated average on unpivot data.
I attached data and needed result screenshot also.
In data, actually I have 3 concepts which have 4 levels each. sq variable with text datawill be in slicer . Utility score needs aggregated as average and categorywise max-min in next column as per screenshot.
KIndly help to fix it out, I am not able to use max value on aggregated  variable in matrix. Screenshot_1.pngresult.png

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

 

Not very clear about your table structure and what role sq variables play in your data, if you can provide your example pbix file then I would be happy to help you.Please remove any sensitive data in advance.

 

Best regards

Jayleny

Anonymous
Not applicable

Hi, That variable will be used in slicer for filter. Anyway, it has been resoved.
Now my next query is, how to display blank like 4th column (Diff. of max & min) of result screenshot. For example, for 1st category, max=0.024 & min=-0.028 then diff=0.052 will be repetitive in each row of category. I need only one time in each category just like screenshot.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.