Forum Discussion
Edgar_massa
Helper II
3 years agoDivergent sum
Good afternoon sirs I'm having problems adding a measure called "Edgar Billing", from a visual, where I disregard the column "CompanyId" and the column "vl_Tarifa_2". In the print below, the first ...
Anonymous
3 years agoNot applicable
Hello Edgar_massa ,
I think you can try if you wnat the correct sum of the total:
If(hasonevalue(table[company_id]),[faturamento_Edgard],sumx(values(table[company_id]),[faturamento_Edgard]))
This will fix your total.
And i dont think all is necessary in your calculation, if you already have a relationship just a simple
Max(table[vl_tarifa_2]) would do the trick