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! Request now

Reply
Pranali_R
Frequent Visitor

Need help on DAX

I need to create this DAX, 

 

Numerator = sum of dollars 

Denominator= sum of dollars disregaring the manufacturer,brand, subbrand,category slicers/fields,  consider only mega category,customer.

 

I tried this measure,

numerator = sum(dollar)

denominator = 

 CALCULATE (
            sum(dollar),
            REMOVEFILTERS (
                Product[manufacturer],
                Product[category],
                Product[brand],
                ,Product[subbrand]
            )
           
        )

 

 

3 REPLIES 3
sjoerdvn
Super User
Super User

Since you want to ignore filters I asume you want to create a measure. But the sum(dollar) suggests a computed column. Can you be a bit more specific in what you're trying to achieve here?

v-zhangti
Community Support
Community Support

Hi, @Pranali_R 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

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

FreemanZ
Super User
Super User

hi @Pranali_R ,

 

try like:

Measure =
VAR _numerator = sum(Product[dollar])
VAR _denominator = 
 CALCULATE (
            sum(Product[dollar]),
            REMOVEFILTERS (
                Product[manufacturer],
                Product[category],
                Product[brand],
                Product[subbrand]
            )
        )
RETURN DIVIDE(_numerator, _denominator)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.