Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |