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.
How to calculate the percentage difference of (Count of Items) between this month and last month?
I want to calculate the no of items in this month and last month and calculate the percentage difference of the no of items.
Any help will be highly apprciated. Thanks in advance!
Solved! Go to Solution.
@Anonymous - You could do something like this, assuming you have a date table:
Percentage Difference = var last_month = CALCULATE( COUNT(yourtable[Item]), PREVIOUSMONTH(Date[Date]) ) var this_month = COUNT(yourtable[Item]) return DIVIDE(this_month , last_month) - 1
@Anonymous - You could do something like this, assuming you have a date table:
Percentage Difference = var last_month = CALCULATE( COUNT(yourtable[Item]), PREVIOUSMONTH(Date[Date]) ) var this_month = COUNT(yourtable[Item]) return DIVIDE(this_month , last_month) - 1
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
62 | |
59 | |
56 |