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.
I have created the below 2 measure which work as expected.
MPG Sold YTD-LY Chg SUM = sumx(filter(Customer,[MPGs Sold YTD-LY Chg threshold]>0),[MPGs Sold YTD-LY Chg threshold])
New MPG Sold = [MPG Sold YTD-LY Chg SUM]-calculate([MPG Sold YTD-LY Chg SUM],dateadd('Calendar'[Date Value],-1,MONTH))
However, the issue is with January there are many negative values when comparing January to December of the previous year. How can i filter out only the negative values in the New MPG Sold measure
return BLANK() for negative results.
Return if([value]>0,[value])
use MAX(0,[value]) to suppress negative values.
This works to change the negative values to 0, but I want my measure to calculate only for positive outcomes. Using MAX, causes it to show 0 for all values
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
75 | |
62 | |
51 | |
47 |
User | Count |
---|---|
213 | |
81 | |
64 | |
60 | |
56 |