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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
PhillipC1
Helper I
Helper I

Value shows inaccurate when converted to a percentage

Hello,

 

I have a value generated by a DAX formula which ultimately is pretty simple, but whenever I click to show the value as a percentage of column total, the values seem out of wack. This visual is filtered down to top 5 as well, just in case that matters.

 

Here is the table without the percentage showing. "Telematics Event by Employee" is generated by "Telematics Event" divided by "Count of EmployeeKey." As shown below, this seems accurate.

PhillipC1_0-1717765782683.png

 

Here is the option I am selecting to convert to a percentage.

PhillipC1_1-1717766042805.png

 

Once converted to a percentage, the values seem off. 

PhillipC1_3-1717766388561.png

 

When I utilize excel, this is closer to what I would expect to see.

PhillipC1_4-1717766769125.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @PhillipC1 
There is no option to format "automatic aggregations" if drag and drop.
So you need to create a dax measure for the wanted percentage.

You can use the Allselected DAX function for this goal.

For example if I have sales and categories this will look like :

% from total = DIVIDE([Total sales (K/$)], CALCULATE([total_sales],ALLSELECTED('Products'[Category])))
Ritaf1983_0-1717767974257.png

The pbix with the example is attached.
The video guide for using this Allselected is here :
https://www.youtube.com/watch?v=gD8yLTtyW1k&t=269s

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @PhillipC1 
There is no option to format "automatic aggregations" if drag and drop.
So you need to create a dax measure for the wanted percentage.

You can use the Allselected DAX function for this goal.

For example if I have sales and categories this will look like :

% from total = DIVIDE([Total sales (K/$)], CALCULATE([total_sales],ALLSELECTED('Products'[Category])))
Ritaf1983_0-1717767974257.png

The pbix with the example is attached.
The video guide for using this Allselected is here :
https://www.youtube.com/watch?v=gD8yLTtyW1k&t=269s

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 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.