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 reporting side.
Since my trendtype column not having quarter value from db side so I created a table in power bi to show daily ,weekly ,monthly and quarterly values. and put in a slicer
Lets say if user selects trendtype as daily then daily data.
weekly then weekly data,
Monthly then monthly data
and qtly then qtly data.
I am not sure how to create a logic for quarter and show the quarter data when user selects quarter in the slicer
Could any one please help how to do
Below is my sample data