Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hello guys,
I am relatively new to power BI DAX.
I am trying to calculate the difference between Q1 2018 and Q4 2019.
Please guide me how to proceed.
I have created Calendar table and tried to use some Time intelligence calculations as well.
Below is link has the test data csv I am working on.
https://drive.google.com/file/d/1MZ526WmzVzKEdhtj31XeowBrJWjWofPc/view?usp=sharing
Solved! Go to Solution.
Hey @Anonymous ,
load the data to Power BI, create a date table and connect it to your data table.
Then you can create your measure and analyze it for the current quarter.
Create a second measure and change the time you want to analyze to 21 months in the past:
MyMeasure 21 Month ago =
CALCULATE(
[MyMeasure],
DATEADD( DateTable[Date], -21, MONTH )
)
That should be your solution,
Thank You all I got answer for my another question as well from both answers😁
Hi, @Anonymous
Please check the below picture and the sample pbix file's link, whether it is what you are looking for.
All measures are in the sample pbix file, and steps are numbered in fron of each measure.
https://www.dropbox.com/s/6733m5935g59r8d/pranj.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: https://www.linkedin.com/in/jihwankim1975/
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.
Hey @Anonymous ,
load the data to Power BI, create a date table and connect it to your data table.
Then you can create your measure and analyze it for the current quarter.
Create a second measure and change the time you want to analyze to 21 months in the past:
MyMeasure 21 Month ago =
CALCULATE(
[MyMeasure],
DATEADD( DateTable[Date], -21, MONTH )
)
That should be your solution,