Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am trying to figure out running totals. I have a matrix that has the previous years running total by month and the current year. The aggregate correctly, however in the cells in the table under current year, the PY(previous year) YTD (year to date) total is displayed for each month in the CY(current year). I would like to blank out those fieds in the matrix
Here is the dax measure i wrote to calculate the running totals in 20222, and then copied for another measure and adjusted for 2023
Hi,
I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your datamodel.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
@Jihwan_Kim Thank you for your assistance..
Apologies im relatively new to Power bi and dax
I formatted your measure below as:
Hi,
Please share your sample pbix file's link, and then I can try to look into it.
Thank you.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
I am unable to attach files here as a newer user. I sent a pm to you with a one drive link to the file.
I appreciate your assistance.
westman
Hi,
Thank you for your message.
I think you can try using date column from Datestbl table, not from Factory Payroll table.
Thank you.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.