Forum Discussion
Previous Period measure
- 1 year ago
Tani4ka , Previous month take first avaiable month. So your Qtr and yeat comparison will not work.
Do Switch the measure using isinscope
How to Switch Subtotal and Grand Total in Power BI | Power BI Tutorials| isinscope: https://youtu.be/smhIPw3OkKA
Switch(true(),
isinscope(Date[Month]) , [MoM%],
isinscope(Date[Qrt]) , [QOQ%],
isinscope(Date[Year]) , [YoY%])You can have full formula, if you do have all measures
I realised were the problem was - i used incorred date columns.
The measure now works well but when i add a custom date columns to sort the data correctly i get 0 resutls. It only react to the main date column and the order is not correct. I tried updating the date columns in the measure to the cutom created but no luck. Any suggestions?
This is not sorted - i need to remove auto date/time tick box and swith to custom date columns. All works perfectly now. Thanks a million for your help!