Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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.
User | Count |
---|---|
20 | |
14 | |
11 | |
8 | |
6 |
User | Count |
---|---|
23 | |
23 | |
20 | |
15 | |
10 |