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
poweruser55
Helper IV
Helper IV

Put columns next to each other while using a slicer

Screenshot 2021-12-06 113539.jpg

I have a slicer in my app that changes the graph based upon ID selected. My question is how do I get the value which are comments to the right and not under the ID number. Also, is there a way to remove the decimals? I was able to do this in a table view but can't find the setting with a slicer.

1 ACCEPTED SOLUTION

@poweruser55,

Select your new column in the Fields list on the right hand side.  You will get the "Sort by Columns" in the menu.  You will select Sort by your original ID field.

rsbin_0-1638976524285.png

 

View solution in original post

7 REPLIES 7
rsbin
Super User
Super User

@poweruser55,

I would create a new calculated column to concatenate your ID and Comment fields.

Slicer = [ID] & " " & [Comment]

You should be able to format your [ID] field to 0 decimal places using the Column Tools menu.

Hope this helps.

I just realized that this makes nothing show up in the graph pane when an ID is clicked. I know why this is happening but how can we get it to just pull the ID part and not the text. @rsbin 

I got the column separated but now the ID numbers aren't in numerical order. How can I get it to reorder ascending ID? @rsbin It is putting 12 after 1 because it is taking the 1 in front of 12 instead of the entire number.

 

@poweruser55,

Select your new column in the Fields list on the right hand side.  You will get the "Sort by Columns" in the menu.  You will select Sort by your original ID field.

rsbin_0-1638976524285.png

 

The slicer no longer works, when I choose an ID the graph pane is blank @rsbin 

@poweruser55,

Am somewhat tied up this afternoon, but please post a sample of your table (in table format that I can copy) as well as a screenshot of the visual you are using.  I will try to have a look at it when I can.

Can I add a column to an already published file? Wouldn't I need to use the query editor? @rsbin 

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.