Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.