Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Banding/Grouping with Direct Query/Live Connection

I am trying to create grouping/banding in my report.  I am using a live connection to AAS so I am unable to access the query editor and the grouping functionality is disabled.

The only way I can think to do this is by writing a measure - and I have done this and it works for a table but if I want to use it in a visual like a bar chart I cannot place it on the "X" axis.

Any guidance would be appreciated!  

1 ACCEPTED SOLUTION

Hi @Anonymous 

Measures can't be added in the X axis.

As a workaround,

If your measure shows the value of each group, you could add "category"/"group"in the X axis, then add your measure in the Value field.

If your measure shows different groups/categories, you could create a calcuated column.

But since you are using SSAS live connection, it is unsupported to created a column.

So it is wise of you to ask the AAS contact to put the measure in the data layer level of AAS.

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

How do you create this measure?

Could you share some example data?

 

Best Regards
Maggie

Anonymous
Not applicable

Thanks for the response!  I think regardless of the measure I create - it will not be able to be put on the "X" axis of a bar chart, which is the business requirement.  I have decided instead to ask the AAS contact to put the measure in the data layer level of AAS.  

Hi @Anonymous 

Measures can't be added in the X axis.

As a workaround,

If your measure shows the value of each group, you could add "category"/"group"in the X axis, then add your measure in the Value field.

If your measure shows different groups/categories, you could create a calcuated column.

But since you are using SSAS live connection, it is unsupported to created a column.

So it is wise of you to ask the AAS contact to put the measure in the data layer level of AAS.

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.