Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi all, I'm hoping to get some help with structuring a line graph. I would like to have the graph's x axis show all of the current year, and the values associated up until this month, then another line showing the previous year's comparison, but keeping the x axis only for the current year. So it would look like the following:
I've been trying to acheive this with another graph but I can't seem to get it to work. Attached below are the measures i'm using and screenshot of current graph.
If you remove the year from your axis to just have months, your lines can indicate the year. Will that work for you?
Hi Syk. Unfortunatley I need it to look like the first graph i referenced. Month-Year for current year.
You need to use the calculate function to modify the filter context so you're previous year measure only looks at the previous year. I'm not sure what your data model looks like but if the data is correct in your current measure (just wrong visually), try to wrap the current measure in something like
calculate([Measure here],dateadd('DateTable'[Date],year,-1))
Hey Syk. I'm pretty sure it's doing that already. Referencing the PriorYear, and then reflected on the graph as 2022. My intention is to get those values to display on a 2023 timeline. Wonder if disconnected dates is what i'm supposed to look at?
Hi,
Share the download link of the PBI file.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
85 | |
65 | |
51 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |