Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi - I am new to Power BI and I am trying to duplicate a report from another application that we use which shows the percent of service calls by catagory in relation to total service calls. In this example I have 195 total service calls and 7 of them are no problem found. I would like to present this as a percentage. Thanks for any help!!!!
Solved! Go to Solution.
In this case try use
Measure 3 = DIVIDE ( [Measure 2] , [Measure 1] )
Hi!
You can create first measure:
All calls = COUNTROWS('Table calls')
and second measure:
Non fault calls = CALCULATE( [All calls] , 'Table calls'[Action code] = "Tested and returned ....**USE YOU TITLE* " )
and result measure:
Percent of fault = DIVIDE ( [Non fault calls] , [All calls] )
HI,
Thank you for a quick response and after a couple of attempts I understand the logic but I am still not outputing the correct data for the first measure. (may be a filtering issue). I show 204 service calls in the table but when I create the first measure the output is 1480.
You can try
All calls = COUNT('Table calls'[WONumber])
or
All calls = DISTINCTCOUNT('Table calls'[WONumber])
Let me give this a try - Thanks
Send a screenshots if it wouldn't work.
I have tried your suggestion and i am almost there.
My first measure
Measure 2
Measure 3
Measrure 1 result = 237
Measure 2 result = 11
Measure 3 result should be 11/237 = 4.64% but is being calcuated as 5.85%
In this case try use
Measure 3 = DIVIDE ( [Measure 2] , [Measure 1] )
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
12 | |
10 | |
6 |