Power BI: define quarter based on months
Sometimes I have a month table to do a trend chart but I need also to define the quarter, so normally I have this table:
To define the quarter, I will add a new column:
And put this formula:
FORMAT([argument],"\QTR YYYY-Q")
NOTE: “month” is the name of my column “month” so if you have a different name, just change it.
And I will get this result:
Next step, which is optional, I will change the name of the column by “Quarter”, in this case, in the formula, just modify “column” by “quarter”:
Interesting Topics
-
Be successfully certified ITIL 4 Managing Professional
Study, study and study, I couldn’t be successfully certified without studying it, if you are interested...
-
Be successfully certified ITIL 4 Strategic Leader
With my ITIL 4 Managing Professional certification (ITIL MP) in the pocket, it was time to go for the...
-
Hide visual and change background color based on selection
Some small tricks to customize the background colour of a text box...
-
Stacked and clustered column chart or double stacked column chart
In excel, I use a lot the combination of clustered and stacked chart...