The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
i have table name called master . My data sheet looks like
Reductionbucket Month valueMonth valueAc
NewMatral Oct -0.71
NewMatral AcOct 0.33
Scrap Oct 0.11
Scrap AcOct 0.33
Supply Oct 0.55
Supply AcOct 0.22
i want to subraction value from valueAc - valueMonth
Now i want value like
Reductionbucket variation
NewMatral -0.4
Scrap -0.22
supply 0.33
Toal 0.7
Graph design like
any dax formula . thanks in advance
Solved! Go to Solution.
@Anonymous I don't get the expected numbers that you get when doing the subtraction, .33 - .11 is a positive .22 not a negative .22 for example, but should be something like this:
Measure =
VAR __ReductionBucket = MAX('Table'[Reductionbucket])
VAR __ValueMonth = MAX('Table'[valueMonth])
VAR __ValueAC = MAX('Table'[valueAc])
RETURN
__ValueAC - ValueMonth
@Anonymous I don't get the expected numbers that you get when doing the subtraction, .33 - .11 is a positive .22 not a negative .22 for example, but should be something like this:
Measure =
VAR __ReductionBucket = MAX('Table'[Reductionbucket])
VAR __ValueMonth = MAX('Table'[valueMonth])
VAR __ValueAC = MAX('Table'[valueAc])
RETURN
__ValueAC - ValueMonth
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
7 |