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 have the next tables:
Points | ||
Business Area | Portfolio | Budget adjusted |
A | 1 | 90 |
B | 1 | 189 |
C | 1 | 360 |
… |
Budget | |||
Business Area | Portfolio | Budget | Budget Adjusted |
A | 1 | 100 | 90 |
A | 2 | 200 | 180 |
B | 1 | 210 | 189 |
B | 2 | 300 | 270 |
C | 1 | 400 | 360 |
C | 2 | 500 | 450 |
Budget adjusted is a measure made in table Budget.
How can I use it in table POINTS to get the Budget Adjusted column as shown above?
I would like to keep it as a measure and not as a calculated column.
Thank you.
Solved! Go to Solution.
Hi @Anonymous ,
Try this measure.
Measure = CALCULATE([Budget Adjusted],FILTER(Budget,Budget[Business Area]=SELECTEDVALUE(Points[Business Area])&&Budget[Portfolio]=SELECTEDVALUE(Points[Portfolio])))
Result would be shown as below.
Best Regards,
Jay
Hi @Anonymous ,
Try this measure.
Measure = CALCULATE([Budget Adjusted],FILTER(Budget,Budget[Business Area]=SELECTEDVALUE(Points[Business Area])&&Budget[Portfolio]=SELECTEDVALUE(Points[Portfolio])))
Result would be shown as below.
Best Regards,
Jay
@Anonymous - Use RELATED or RELATEDTABLE in your measure along with MAXX for example. Measures can live anywhere, it does not matter what their home table is.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@Anonymous , A new column Budget table
maxx(filter(Table, Points[Business Area] = Budget[Business Area] && Points[Portfolio] = Points[Portfolio] ),Points [Budget adjusted])
any alternative with a measure instead of a calculated column? @amitchandak
Thank you very much.
any alternative with a measure instead of a calculated column?
Thank you very much.
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |