Forum Discussion
Using a Measure or a Variable in a Measure doesn't work - but the Number does?
Hi! I was having the same issues, I was never able to figure out exactly why the DAX code does not work as intended. However, I did find a work around.
Using transform data I took the Status Column (Info like "Waiting for approval", "Shipping", etc) and I added a conditional column that esentially converts the status information to the same information as you have in the 'Status'[Order] Column. Because of the nature of my data I had to do a couple other steps. However, I think you should be able to use this new column as your _Selected_Status_Nr possibly with selected value (assuming you are using a slicer like he did in the video?
I am no Power BI expert, but I think what solved the porblem for me was using a table value for this variable rather than a measure value.
Hope this helps!