DAX formula nested measures

shophoney

Active Member
Joined
Jun 16, 2014
Messages
286
Hi I have 3 measures. They all work fine on their own. But now I would like to have it evaluate when all 3 conditions are met.

I cant seem to get it to work.

MUGS UNITS SOLD:=CALCULATE([SALES TOTAL UNITS SOLD],('tblInvSkuMaster'[<wbr>brand_code]="CANA10"))

MUGS TRANS# DISTINCT COUNT:=CALCULATE(DISTINCTCOUNT<wbr>('SALES TABLE'[TRANS#]),'SALES TABLE'[UNITS SOLD]>0,tblInvSkuMaster[brand_<wbr>code]="CANA10")-CALCULATE(DIST<wbr>INCTCOUNT('SALES TABLE'[TRANS#]),'SALES TABLE'[UNITS SOLD]<0,tblInvSkuMaster[brand_<wbr>code]="CANA10")

MUGS RETAIL:=CALCULATE([SALES TOTAL NET RETAIL])

I would like the formula to evaluate if MUGS UNITS SOLD"1, MUGS TRANS# DISTINCT COUNT=1 AND MUGS RETAIL

thanks
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
This is a great question, I am also looking to find a way to display only the transactions where units sold on the transaction are greater than 2 for a specific model. Would an If/And nested dax formula work?

Any help would be much appreciated
 
Upvote 0
This is a great question, I am also looking to find a way to display only the transactions where units sold on the transaction are greater than 2 for a specific model. Would an If/And nested dax formula work?

Any help would be much appreciated

Hi, Ezee.

I did some testing last night and I think that might be the right direction.

I will try to test again. But our company is very busy right now and my days are limited.

Maybe a power user might have an idea to help.

Cheers
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top