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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

How to show all the column values in a single row per Circuit Name

Hello All, 

i have a table 

Circuit_NameCONTRACT_ACCOUNT_NUMBERCommunityName
ARDMORE 24322382Ardmore
ARDMORE 24322385Ardmore
ARDMORE 24322391Ardmore
ARDMORE 24322395Ardmore
ARDMORE 24322400Ardmore
ARDMORE 24131599652Ardmore
ARDMORE 24131600759Ardmore
ARDMORE 24131601250Ardmore
ARDMORE 24131601585Ardmore
ARDMORE 242000764Marietta
ARDMORE 24127716387Marietta
ARDMORE 24128010672Marietta
ARDMORE 24128226326Marietta
ARDMORE 24128355644Marietta
ARDMORE 24128566177Marietta
ARDMORE 24128842562Marietta
ARDMORE 24128958608Marietta
ARDMORE 24129765752Marietta
ARDMORE 24131003296Marietta
ARDMORE 24131113786Marietta
ARDMORE 24131136092Marietta
ARDMORE 24131145499Marietta
ARDMORE 24131491299Marietta
ARDMORE 24129488236Stratford
ARDMORE 24130928636

Sulphur

 

I tried using both the Table Visual and Matrix Visual

Test_Image.PNG

But unable to show everything in one column like below 

now i need to show all the communities in a one column 

Circuit_NameCommunityName
ARDMORE 24Ardmore,Marietta,Stratford,Sulphur
1 ACCEPTED SOLUTION
dedelman_clng
Community Champion
Community Champion

Hi @Anonymous - this measure should work for you:

 

Communities =
CONCATENATEX (
    SUMMARIZE ( Circuits, Circuits[Circuit_Name], Circuits[CommunityName] ),
    Circuits[CommunityName],
    ","
)

2020-08-10 16_18_27-N_and_BASE_problem (3) - Power BI Desktop.png

Hope this helps

David

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Try this measure

=CONCATENATEX(VALUES(Data[Community Name]),Data[Community Name],",")

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
dedelman_clng
Community Champion
Community Champion

Hi @Anonymous - this measure should work for you:

 

Communities =
CONCATENATEX (
    SUMMARIZE ( Circuits, Circuits[Circuit_Name], Circuits[CommunityName] ),
    Circuits[CommunityName],
    ","
)

2020-08-10 16_18_27-N_and_BASE_problem (3) - Power BI Desktop.png

Hope this helps

David

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.