Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 table is ok with the tariffs, (except the total), bringing the amounts to be invoiced from customers.
In the table below, it is showing a totally different value.
As the calculation is a column multiplied by a measure, I used a Calculate function and the MAX function to get the day's tariff.
What would you do?
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
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
19 | |
15 | |
7 | |
6 |