Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Team,
I have a requirement in which i need to calculate store count for current month and Previous month and display in current month.
For Ex :- if my current month is 2018/11 then it should calculate 2018/10+ 2018/11 store count and display in 2018/11.
the data should be displayed in such a way as in image.
The Code for the following calculation that i have done is for every single month.
But i need the logic for calculating two months and displaying in single month. Any help would be appreciated.
Thank you
Create the below measure:
Store Count 2 = CALCULATE([Store count],DATEADD('Date'[Date],-1,MONTH))+[Store Count]
Hi @Prodosh
Can you share the code and the data in text and table format so that it can be easily copied by people trying to help?
Or share your pbix file
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
68 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |