Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
My data set is very simple, it has 2 columns, one for Date and the other for Value. The dates range from January 2011 through current day(by day). I need to display a line chart where the legend is years, thus showing 7 lines(one for each year) and viewed by month. However, i do not want to aggregate by month but rather show the unique daily values in the month view. Please help.
Thanks
Solved! Go to Solution.
Hi @brianvpowerbi,
You can refer to below steps:
1. Switch the Date column to hierarchy mode.
2. Drag Year part to Legend field, Month and Day to Axis field.
3. Drag value to Values field.
Sample:
Regards,
Xiaoxin Sheng
Hi @brianvpowerbi,
You can refer to below steps:
1. Switch the Date column to hierarchy mode.
2. Drag Year part to Legend field, Month and Day to Axis field.
3. Drag value to Values field.
Sample:
Regards,
Xiaoxin Sheng
This does not produce the expected result. The steps below will aggregate the data by month(since the data is listed daily on the query). I need individual days presented in a monthly view without aggregation. There is no option to not summarize the data.
Hi @brianvpowerbi,
>>I need individual days presented in a monthly view without aggregation. There is no option to not summarize the data.
You can add a calculated column to store the month and day, then use this new column as the axis.
Formula:
MonthDay = FORMAT([Date],"MM-dd")
Regards,
Xiaoxin Sheng
I think we are getting closer, but now I have two follow up questions:
Hi @brianvpowerbi,
I think you can format the display axis to numeric, it may easier to sort.
MonthDay=FORMAT([Date],"mmdd")
Regards,
Xiaoxin Sheng
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 74 | |
| 66 | |
| 65 |