Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
So I want to dynamically choose two years I want to compare for a measure, in my case - profit.
I made a DAX measure to calculate profit for A year, for example:
Profit LY = CALCULATE([Profit]; Year[Year] = 2018 )
but I want to calculate the profit for a year I pick via a slicer. Is that achievable?
Hi. It is not something I would recommend to have a measure from slicer, but you can solve this with SELECTEDVALUE.
Here is some doc:
https://docs.microsoft.com/en-us/dax/selectedvalue-function
https://dax.guide/selectedvalue/
Regards,
Happy to help!
User | Count |
---|---|
12 | |
11 | |
8 | |
7 | |
6 |
User | Count |
---|---|
25 | |
19 | |
14 | |
10 | |
7 |