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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
As the title says - my total is incorrect - should be grouped to 6.22
Measure I've used
Value Measure thousands =
CALCULATE ( VAR __INVOICED = CALCULATE( SUM(fact_table'[AMOUNT]), FILTER( 'cost_table', 'cost_table'[TYPE] = "INVOICED" ) ) RETURN DIVIDE ( __INVOICED, 1000 ) )
Tried with ALL, ALLEXCEPT, nothing works
@Pbiuserr , Try Like
Value Measure thousands =
VAR __INVOICED = CALCULATE(
SUM('fact_table'[AMOUNT]),
FILTER(
'cost_table',
'cost_table'[TYPE] = "INVOICED" )
)
RETURN
sumx(Values('cost_table'[Item]), calculate(DIVIDE ( __INVOICED, 1000 ) ))
Hi,
Item is actually from "Items" table, nevertheless it is not changing the totals, unfortuantely
Hi @Pbiuserr ,
Try completing the field/filter in code. like:
Value Measure thousands =
VAR __INVOICED =
CALCULATE (
SUM ( 'fact_table'[AMOUNT] ),
FILTER ( 'cost_table', 'cost_table'[TYPE] = "INVOICED" )
)
RETURN
SUMX (
SUMMARIZE (
'Items',
'Items'[Item],
'TableName'[Label],
'TableName'[Type],
'TableName'[Year],
'TableName'[Month],
"rate", CALCULATE ( DIVIDE ( __INVOICED, 1000 ) )
),
[rate]
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hello
After poiting out the table I cannot add field from another table
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 68 | |
| 66 | |
| 64 |