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! Get ahead of the game and start preparing now! Learn more
Hello all,
Could someone please tell me how I can create a measure that captures the displayed x-axis level in my case (whether it is at the category level or the code level)? I am using the chart below in my report, and I need to determine, at each level, what is displayed on the x-axis.
Solved! Go to Solution.
@toum , Use the measure on the tooltip or title and try
if(isinscope(Table[Code]), "Code", "Category")
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 40 | |
| 21 | |
| 18 |