The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello Everyone,
I have a dataset containing the product orders of three years (2021, 2022, 2023). For each Year, I have data for 6 months (Starting from March to August). I have calculated the "Total Orders InFull" for the dataset by the following manner:
Now I've created a table visual. In the 1st column, I put the "Start of Month" for the selected year. In the 2nd column, I put the "Total Orders InFull" for each month. In the 3rd column, I want to put the "Total InFull Orders Compared with Last 2 Months". I used DATEADD function to calculate the measure like below:
But I wanted the Table in such a way, for any given "Start of Month", the "Total InFull Orders Compared with Last 2 Months" should not be empty & should contain the "Total InFull Orders" of two months before.
For Example, In the 2nd screenshots (Year-2023 filter), the "Total InFull Orders Compared with Last 2 Months" of Saturday, April 01, 2023 should not be empty, and should be the "Total Orders InFull" of Friday, July 01, 2022, i.e. 939.
Please suggest me how can I fill those empty values with the proper values I want by keeping the Year Slicer.
Solved! Go to Solution.
Thank you so much, sir. This solution worked as I wanted
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
19 | |
18 | |
18 | |
14 |
User | Count |
---|---|
38 | |
35 | |
22 | |
20 | |
17 |