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!View all the Fabric Data Days sessions on demand. View schedule
In my datamodel I want to show the value 1 if there is any turnover that certain month. If not zero.
I thougth it was easy by just using IF([turnover]>0;1;0) but the products are not grouped. I need the product only mentioned one time for right subgroup.
Solved! Go to Solution.
I think I found a solution.
What I did was first making a measure:
COTGTZero=sumx(factTurnover;if(factTurnover[Sales]>0;1;0)).
Then I made a new Measure:
ShowOneIfSalesThatMonth=COTGTZero/COTGTZero.
It works when I show it in my report.
Hi @nankerp,
Could you please post a sample and the result you want?
Best Regards!
Dale
I think I found a solution.
What I did was first making a measure:
COTGTZero=sumx(factTurnover;if(factTurnover[Sales]>0;1;0)).
Then I made a new Measure:
ShowOneIfSalesThatMonth=COTGTZero/COTGTZero.
It works when I show it in my report.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!