The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |