Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi Experts
How would you add an index column to the following measure
Channel_Grp = DISTINCT(SELECTCOLUMNS(Profitability_Consolidation,"Channel",Profitability_Consolidation[Channel]))
The Index order should be
1. All
2. IAM
3. OES
Solved! Go to Solution.
HI @Anonymous,
It seems like you want to set an index of your channel value. For this scenario, I'd like to suggest you use the switch function to manually convert these to return specific index values.
DAX – Making the “Case” for SWITCH()
Regards,
Xiaoxin Sheng
HI @Anonymous,
It seems like you want to set an index of your channel value. For this scenario, I'd like to suggest you use the switch function to manually convert these to return specific index values.
DAX – Making the “Case” for SWITCH()
Regards,
Xiaoxin Sheng
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |