Forum Discussion
Plot multiple quarterly data
It is as easy as Tableau in PowerBI as long as you know how to do it. When you put your Date field in the Axis, Right Click and select Date Hierarchy. Select Quarters from the list.
or
When you drag the date field to the chart, It will create the drill down action, which wil show you the drill down to the quarters level as well.
Thanks very much. When I do that it only shows data for quarters aggregated (Q1 sales from 2014, 2015, and 2016 summed). How do I show quarterly data for all years? I know I am missing something simple.
- BhaveshPatel9 years agoSuper User
Putting a year and Quarters to the axis field can generate the expected output
- HVSC9 years agoRegular Visitor
Bhavesh -- Thank you. It looks like in your example, there are two seperate fields; one for year and one for quarter. Did you copy the date into two seperate columns and format one as year and one as quarter? My data contains one date field (named "create_date" as picutred).
.- BhaveshPatel9 years agoSuper User
The suggested practice to work with date related data in powerbi is to create a calender table with all contiguous dates to correctly calculate the time intelligence calculations.
I have created a Year and Quarters Columns in my date table using the syntex below:
Year=YEAR(CalenderTable[Date])
Quarter=CONCATENATE("Q",ROUNDUP(MONTH([Date])/3,0))