Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello! I need a bit of help creating this dax formula for my report....
First, I am trying to make a formula for the Ideal Points for my report. I have created measures for Rank1, Rank2, Rank3, and Rank4 points (this is a formula given to me by my company which is the number of team members * a percentage of people).
I need to calculate the Ideal Points by doing this: Rank1 * number of modules with a rank 1 for the course = rank 1 ideal points.
(so for this highlighted row... I need the Rank1 * 12 = rank 1 ideal points for WW L100 M02 Computer screens)
I am also wondering if I could create this table like the pivot table below.... Thanks in advance!
If I understand correctly you can use SWITCH to tell Power BI which rank measure to use:
Rank Value =
SWITCH( [Rank],
1, [Rank1]
,2, [Rank2]
, 3, [Rank3]
,4, [Rank4]
)
Then Multiply that by the points/modules to get the ideal points. Hope that makes sense?
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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 44 | |
| 31 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 135 | |
| 114 | |
| 58 | |
| 39 | |
| 35 |