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 am creating a measure like this
Solved! Go to Solution.
I think you have a few options with this. You can perform the calculation as a calculated column. For every Row Un-Allowcated * SalesUnprice. Then simply wrtie a measure for that calculated column. Or you can use SUMX.
That would look like the following.. SUMX( <Table>, UnAllocated Column * SalesUnit Price)
This sumx will iterate through the granularity put in table. It can be very expensive if your fact table is very large, if that is the case I recommend performing a calculated column. The X functions are great when you create a small summarize/filtered list that should need to be itterated through. Try getting close and post if you don't get it. Also if need help implementing please publish the tables and relationships needed for this measure.
I think you have a few options with this. You can perform the calculation as a calculated column. For every Row Un-Allowcated * SalesUnprice. Then simply wrtie a measure for that calculated column. Or you can use SUMX.
That would look like the following.. SUMX( <Table>, UnAllocated Column * SalesUnit Price)
This sumx will iterate through the granularity put in table. It can be very expensive if your fact table is very large, if that is the case I recommend performing a calculated column. The X functions are great when you create a small summarize/filtered list that should need to be itterated through. Try getting close and post if you don't get it. Also if need help implementing please publish the tables and relationships needed for this measure.
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 |
---|---|
18 | |
18 | |
17 | |
15 | |
13 |
User | Count |
---|---|
36 | |
34 | |
19 | |
18 | |
15 |