Forum Discussion
Anonymous
3 years agoNot applicable
Quarterly data from monthly data
Hello All, I have a table where I am having data like below and I am having 20 measures. I have my daily ,weekly and monthly data coming from table directly. So I need to calculate quarterly in...
amitchandak
3 years agoSuper User
Anonymous , Use an independent table with values week, month Quarter etc.
and the switch calculation based on selection
Switch(selectedvalue(Param[Period]),
"Weekly", [Week Measure],
"Monthly", [Month Measure],
"Quarterly", [Quarter Measure]
)
Same as the old measure slicer approach:How to create a Measure Slicer: https://youtu.be/b9352Vxuj-M
if you have separate measure already explore field parameters
Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9afd
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE