Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
41 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
44 | |
32 | |
30 | |
18 | |
17 |