Forum Discussion
Compare different statuses measure
- 2 years ago
hi TobiasWiegand ,
not sure if i fully get you, supposing you have a data table like:
try to
1) plot two slicers with two calculated tables like:
Slicer1 = ALL(data[Status])Slicer2 = ALL(data[Status])2) plot a card visual with a measure like:
Diff = MAXX( FILTER(data,data[Status]=SELECTEDVALUE(Slicer2[Status])), data[Qty] ) - MAXX( FILTER(data,data[Status]=SELECTEDVALUE(Slicer1[Status])), data[Qty] )it worked like:
Hi Dangar,
thanks for your reply. The above solution doesn't work because the field "current status" is a text field and needs to stay one. Therefore PBI cannot compare which one is smaller.
I would simply Like to Have 2 filters:
Filter 1 (Base Status): 23.05.
Filter 2 (Compare Compare): 23.06.
leading to a table showing
23.05. 23.06.
236520 -87480
hi TobiasWiegand ,
not sure if i fully get you, supposing you have a data table like:
try to
1) plot two slicers with two calculated tables like:
Slicer1 = ALL(data[Status])Slicer2 = ALL(data[Status])
2) plot a card visual with a measure like:
Diff =
MAXX(
FILTER(data,data[Status]=SELECTEDVALUE(Slicer2[Status])),
data[Qty]
) -
MAXX(
FILTER(data,data[Status]=SELECTEDVALUE(Slicer1[Status])),
data[Qty]
)
it worked like: