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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Simple Division Issue - Not so simple

Hello everyone,

 

I'm facing an issue of simple divison for my graphs.

Below on the left you see both values in their own graphs, on the right you see the divison.

powerbidivison.PNG

 

Now as you can see the division isn't correct. Take december: 78/166*100%= 46.99%, it displays: 53%.

 

Code used:

DIVIDE([Value01],[Value02])

 

Hope someone can help out.

1 ACCEPTED SOLUTION

HI, @Anonymous 

If what you had created is a new column, you should create a new measure

Try this formula:

9.JPG

Measure = DIVIDE(SUM('Table'[Value1]),SUM('Table'[Value2]))

If not your case, please share your sample pbix file.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Hi,

 

Try DIVIDE ( [Value01] , [Value02] , 0 )

 

Regards,

Pavan Vanguri.

Anonymous
Not applicable

Hey,

 

it changed the value for Jan for example, but still not correct:

powerbidivison02.PNG

Anonymous
Not applicable

Hi,

 

Can you please let me know what is Value01 and Value02.

I mean the DAX expression.

Anonymous
Not applicable

Hey vanguripavan, the data comes from a server and just gets pulled into a table.

Simple snippet below:

 

Capture.PNG

 

 

HI, @Anonymous 

If what you had created is a new column, you should create a new measure

Try this formula:

9.JPG

Measure = DIVIDE(SUM('Table'[Value1]),SUM('Table'[Value2]))

If not your case, please share your sample pbix file.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Amazing, this solved the issue! Had no idea I had to use the measure. 

@v-lili6-msft thanks!

Anonymous
Not applicable

Hi,

 

I think you are not using the SUM aggregratior.

I suggest you to please create calculated measures for Value01 and Value02,
Value01 = SUM(NPSNUMBERS)
Value02 = SUM(CALLSRESOLVED)

 

And use the above calculated measures for calculate percentages.
DIVIDE ( Value01 , Value02 , 0 ).

 

I think this will resolves the issue. Please let me know if you still face any issues.

 

Regards,

Pavan Vanguri.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.