Forum Discussion
Simple Division Issue - Not so simple
- 7 years ago
HI, Anonymous
If what you had created is a new column, you should create a new measure
Try this formula:
Measure = DIVIDE(SUM('Table'[Value1]),SUM('Table'[Value2]))If not your case, please share your sample pbix file.
Best Regards,
Lin
Hey,
it changed the value for Jan for example, but still not correct:
Hi,
Can you please let me know what is Value01 and Value02.
I mean the DAX expression.
- Anonymous7 years agoNot applicable
Hey vanguripavan, the data comes from a server and just gets pulled into a table.
Simple snippet below:
- Anonymous7 years agoNot 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.
- v-lili6-msft7 years agoCommunity Support
HI, Anonymous
If what you had created is a new column, you should create a new measure
Try this formula:
Measure = DIVIDE(SUM('Table'[Value1]),SUM('Table'[Value2]))If not your case, please share your sample pbix file.
Best Regards,
Lin
- Anonymous7 years agoNot applicable
Amazing, this solved the issue! Had no idea I had to use the measure.
v-lili6-msft thanks!