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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Revenue aggregation with a filter and KPI Switch

Hi all,

 

We do have a Calculation Group where the user is able to select which KPI they want to see (e.g. Revenue, Revenue %, etc.)

For each available KPI there must be a different filter applied, in this case the Sum of Revenue per Brand must be over 10000 (Row Total over 10000). The Revenue Table is on a more granular level and needs to be aggregated.

From our knowledge and abilities this did not seem to be possible via the Filter Pane.  We came to the conclusion, to apply the filter directly on the Calculation Item of the Calulation Group. Unfortuneately we were not able to find the correct DAX Expression for our problem. Can someone help with this problem? Preferably we do not want to add another table to the model, maybe a temporary table via CALCULATETABLE( ) is the solution?

 

Revenue is calculated as following: SUM(Revenue[Revenue])

 

Available in Revenue Table:

Date, Brand ID, Segment ID,  Revenue

 

 

Left Column: Brands 

Right Columns: Customer Segments + KPI Switch

 

Michella_1-1662719742390.png

 

 

 

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@Anonymous,

 

You can now achieve this with a Fields Parameter instead of a calculation group.

 

https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters 

 

As far as "Row Total over 10000", you could add a condition to the measure that displays the amount only if it exceeds 10000. Can you provide the DAX for this measure?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
DataInsights
Super User
Super User

@Anonymous,

 

You can now achieve this with a Fields Parameter instead of a calculation group.

 

https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters 

 

As far as "Row Total over 10000", you could add a condition to the measure that displays the amount only if it exceeds 10000. Can you provide the DAX for this measure?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors