The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |