Forum Discussion
htaunay
Microsoft Employee
10 years agoSwitch X Axis column through a slicer filter
Hi PowerBI experts, I am currently working with a dataset where each line represents information of a specific hour, and would like to plot such data grouped by days, weeks or months, given the u...
mws5872
Helper II
8 years agoso, almost there I have everything working except quarters. Does anyone know the proper way to use the M(Power Query Lanagugage) to do something like this equivilant in excel/PBI Measures ?
Quarter
| DateFormat = year('Quarter Dates'[DateValue])&"-Q"&ROUNDUP(MONTH('Quarter Dates'[DateValue])/3,0) |
Month
Dateformat =year('Quarter Dates'[DateValue])&"-"&MONTH('month Dates'[DateValue])
I have not been able to find this out yet.
Seward12533
Solution Sage
8 years agoDate.QuarterOfYear([Registration Date]), Int64.Type)