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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Show attributes as separate lines in a graph

Hello

6 REPLIES 6
Gabriel_Walkman
Continued Contributor
Continued Contributor

If I understood correctly, you want to see Col2 values (ie. Attr1, Attr2) separately? But you don't have any grouping for Col2.

 

Maybe you need to create another visual next to this one, where you switch Col2 to X-axis?

 

Another option, if the Col2 values are few and well defined, would be to create a measure per attribute and use those as values. Ie.

Attr1Max = calculate( max([Col3]), filter( 'Table', [Col2] = "Attr1" )) 

Anonymous
Not applicable

@Gabriel_Walkman  thanks but Measures cannot be used in slicers so this dismisses them

I offered you two options. How about the first one?

 

The latter one does not require using measures as filters but it might not make sense otherwise. 

 

New idea, how about create a Col5 = Col1 & " " & Col2 and use that as legend?

Anonymous
Not applicable

@Gabriel_Walkman  thanks! 

 

1) I think the concat is not preferable due to creating a very large number of inconvenient to filter/select entries.

 

2) Can you explain please the use of Groups? I have not used them before

 

3) The below seems interesting:

Attr1Max = calculate( max([Col3]), filter( 'Table', [Col2] = "Attr1" )) 

However, it needs to be something like:

Attr1Max = calculate( max([Col3]), filter( 'Table', [Col2] = [Col2] )) 

So that it will work for any Attr, can that work?

 

Thanks!

1) You can still create slicers from Col1 and Col2 as normally, even if you'd use the concatenated value in the visual.

 

2) By grouping I mean ie. something in either x-axis or legend. "group by month", "group by ColX" etc.

 

3) No, it would not work like that at all. I'd forget that suggestion altogether, I was very tired when I wrote that.

vanessafvg
Super User
Super User

can you just screenshot your visual with the visual pane setttings? so much easier to understand that way and see what is going on.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.