The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I would like sum in a lookupvalue. Is that possible or is there another command(s) that I need to look at to achieve my desired outcome?
I have a budget table with a field and would like to scan a transaction table with the same field name. How do I sum all the transactions and put the total into the budget table?
I am wanting to sum the transactions to the corresponding field(s) in the Budget Table.
Solved! Go to Solution.
@Anonymous,
You may add a calculated column as follows.
Column = SUMX ( FILTER ( 'Transaction', 'Transaction'[_link] = Budget[_link] ), 'Transaction'[_amt] )
@Anonymous,
You may add a calculated column as follows.
Column = SUMX ( FILTER ( 'Transaction', 'Transaction'[_link] = Budget[_link] ), 'Transaction'[_amt] )
Your code works like a champ, Sam. Thank you for your time and effort. It is greatly appreciated.
Respectfully,
Jonathan M*
Thank you for your answer, Sam. I get the following message when I put in the code:
A single value for column 'Budget Order' in table '_2018_Budget' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
Any thoughts?
Respectfully,
Jonathan M*
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
1 | |
1 | |
1 |