cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Diana_Ning
Microsoft
Microsoft

Group several rows into 1 according to a certain column, with filter still working

My data is like below:

Course No. | Language | State

AZ-999  | EN-US | To Do

AZ-999  | ZH-CN | Doing

AZ-999  | JA-JP | To Do

AZ-888  | EN-US | To Do

AZ-888  | ZH- CN| To Do

AZ-888  | ES- ES | Done

I need these to display like:

AZ-999 | EN-US, ZH-CN, JA-JP| To Do, Doing, To Do

AZ-888 | EN-US, ZH-CN, ES-ES| To Do, Done

 

While this still responding to the filter "Language" and "State".

 

2 REPLIES 2
Diana_Ning
Microsoft
Microsoft

I mean like below, when Languaage ES-ES is selected in the slicer, I want the "Languages" column in the table shows only the ES-ES, the languages column is generated using table.join

 

Diana_Ning_0-1685933590311.png

 

Ahmedx
Super User
Super User

pls try this

_Language = CONCATENATEX('Table',[Language],", ")
_State = CONCATENATEX('Table',[State],", ")

Screen Capture #1186.png

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors