Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
naseem_1973
Helper I
Helper I

%age is wrong

Dear All,

 I require this result in power BI. 

I tried to work in PBI but the result is going wrong.

Excel calculation 

naseem_1973_2-1702451620051.png

 

Check both tables of PBI .

Table name data dump, specialty, and new encounter column names.

When I divide  "specialty" column count with  "new encounter" count then %age is wrong. 

 

Specialty %age = DIVIDE([Transfer],[New Encounter Count],0)

naseem_1973_0-1702451396318.png

Specialty = COUNT(Datadump[Speciality])/CALCULATE(COUNT(Datadump[Speciality]),ALL(Datadump[Speciality]))

naseem_1973_1-1702451485654.png

 

 

1 ACCEPTED SOLUTION

@naseem_1973 

pls provide the sample data and the expected output based on the sample data. In this problem, I can't use DAX to get 134.

maybe try 

COUNT(Datadump[Speciality])/CALCULATE(countrows(Datadump),ALL(Datadump))





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

7 REPLIES 7
ryan_mayu
Super User
Super User

@naseem_1973 

confused about this. Is the last screenshot the same as the Excel calculation? 

Then what's the expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Sorry Sir,

Excel result is 

naseem_1973_0-1702465423514.png

Total 134 , transfer 13

@naseem_1973 

how you get total 134? 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




It is my total entries manage internaly and other than 13 refer. 

Total entries in this table 134.

@naseem_1973 

pls provide the sample data and the expected output based on the sample data. In this problem, I can't use DAX to get 134.

maybe try 

COUNT(Datadump[Speciality])/CALCULATE(countrows(Datadump),ALL(Datadump))





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thank you brother it is working.

 

naseem_1973_0-1702615047144.png

 

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors