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.
Hoping my diagram below makes this more clear than unclear...
I have two tables: Item & Projection factors
I'm not sure if this should be a measure, a column, or a helper table, but would really appreciate any insight for how to make this happen in powerbi.
Thank you!
Solved! Go to Solution.
Hi @jakechevrier ,
Please try below steps:
1. add a new column to Projection factors table with below dax formula
Sum Qty =
VAR cur_cty = [Category]
VAR tmp =
FILTER ( ALL ( 'Item' ), 'Item'[Category] = cur_cty )
RETURN
SUMX ( tmp, [Qty] )
2. create a measure with below dax formula
Measure =
VAR cur_year =
SELECTEDVALUE ( 'Project Factors'[Year] )
VAR tmp =
FILTER ( ALL ( 'Project Factors' ), 'Project Factors'[Year] = cur_year )
RETURN
SUMX ( tmp, [Factor] * [Sum Qty] )
3. add a table visual with "Projection factors[Year]" field and measure
Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jakechevrier ,
Please try below steps:
1. add a new column to Projection factors table with below dax formula
Sum Qty =
VAR cur_cty = [Category]
VAR tmp =
FILTER ( ALL ( 'Item' ), 'Item'[Category] = cur_cty )
RETURN
SUMX ( tmp, [Qty] )
2. create a measure with below dax formula
Measure =
VAR cur_year =
SELECTEDVALUE ( 'Project Factors'[Year] )
VAR tmp =
FILTER ( ALL ( 'Project Factors' ), 'Project Factors'[Year] = cur_year )
RETURN
SUMX ( tmp, [Factor] * [Sum Qty] )
3. add a table visual with "Projection factors[Year]" field and measure
Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
105 | |
97 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |