Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.