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,
i would like to create measure like :
DIVIDE ( SUM(Sales1[Amount]) ; SUM(Sales2[Amount]) ; 0 ) - 1
But I have a problem with filter/row context when use this measure in table per time becasue of -1.
How to resolve that t?
Hi @Marcin,
Based on my test, your formula could work on my side:
What is your desired result?
Regards,
Daniel He
The problem appears when the measure will be presented in time dimension :
Then I get all -1 vaules by all time day dimensions.
It's either your totalsales is 0 at those dates, there is an issue in the formula TotalSales measure or the variance between TotalSales and TotalDiscount is very minimal (very close to zero). Try the below:
Hi @Marcin,
I could not reproduce your problem, could you please share some sample data to have a test if possible?
Regards,
Daniel He
Please share sample data with expected results.
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 |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |