why does this measure not work?
Solved! Go to Solution.
Hi @Anonymous ,
Might because of the denominator. Try:
penetration = divide(CALCULATE(sum(Detail[Sales New Used]),Detail[Sales New Used]="New"),Calculate(SUM('Dealer Summary'[Regs]),All('Dealer Summary'))
If it doesn't work, please show some sample data and expected result.
This is the part of my measure which doesnt work
Sales new used
(Count of new) ‘New’/REGS
is this what you want?
Column = CALCULATE(COUNT('Table'[Sales new used]),FILTER('Table','Table'[Business Area]=EARLIER('Table'[Business Area])&&'Table'[Sales new used]="New"))
I suggest you check regs and count. You mean the business area have the results for regs and count, but result is infinity?
maybe you can try to saparate the DAX to two parts and check which part didn't return the expected result.
CALCULATE(sum(Detail[Sales New Used]),Detail[Sales New Used]="New")
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.