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 everyone!
I'm new to Microsoft Power Bi but there is the thing I want to do:
I've got a column called "cutting" with 0 (machine isn't working) and 1 (machine is working).
I want to create a measure called "UT" where the amount of rows with "cutting" = 1 is divided by the total amount of columns in the table 'Tabelle1'. The DAX formula is the following:
UT = CALCULATE(COUNT('Tabelle1'[cutting])/COUNTROWS('Tabelle1'); 'Tabelle1'[cutting] = 1)
When I try to display the measure on my dashboard, the field is blank.
I have already looked at different forum posts similar to my problem, but nothing seems to work.
Can anyone help?
Thanks
Tim
Solved! Go to Solution.
Hey @timgiefer,
Try it with the following measure:
UT = DIVIDE(CALCULATE(COUNT('Tabelle1'[cutting]);Tablelle1[Cutting] = 1);COUNTROWS('Tabelle1'))
Might be a "" wrong, but should be fine.
Good luck !
Hey @timgiefer,
Try it with the following measure:
UT = DIVIDE(CALCULATE(COUNT('Tabelle1'[cutting]);Tablelle1[Cutting] = 1);COUNTROWS('Tabelle1'))
Might be a "" wrong, but should be fine.
Good luck !
What are you using to show the data ?
And what happens when you filter out the blanks using the Visual level filters
@BeemsC
I checked the DAX-formula again, I made a mistake by taken the wrong column name... my bad!
Thanks for your help!!
Tim
Since your problem has been resolved, please help accept solution. Your contribution is highly appreciated.
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.