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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Measure that is not affected by Slicers BUT that is grouped by category

Hello,

 

I have a dataset with product information. This issue is about products, customer group and profit columns. I have included different slicers in my dashboard which filter out the unprofitable products. For example, one slicer shows all products with a negative profit.

 

Now I want to show in a visualization the profit of the filtered products by a category (e.g. customer group) in relation to the profit of the total unfiltered profit of the products by a category (e.g. customer group). For visualization, I had thought of a stacked bar chart, for example. I would also find a slope chart exciting, where it can be seen how much the profit of a customer group is in percentage unfiltered and filtered (by the slicers).

 

A first approach was the function:

Total =
CALCULATE(
SUM('Table'[Profit)]),
ALL('Table')
)

This shows me the unfiltered totals, but not grouped by different categories. Maybe I can group by the different customer groups via the groupby function!? This I have so far unfortunately not yet managed.

 

I hope you can help me! Many thanks in advance!

 

 
1 REPLY 1
v-binbinyu-msft
Community Support
Community Support

Hi @Anonymous ,

I'm a little confused about your needs, Could you please explain them further? It would be good to provide a screenshot of the results you are expecting and desensitized example data.

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_Binbin Yu

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors