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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DivyaNair
Frequent Visitor

how to avoid duplicate rows in power bi report by showing differed entries in same row?

I need to show a power bi visualisation in table format below.

enter image description here

where A= IF(Table[col]="A","X",BLANK())

B= IF(Table[col]="B","X",BLANK())

C= IF(Table[col]="C","X",BLANK())

D= IF(Table[col]="D","X",BLANK())

But after creating A, B, C and D columns when I drag this fields to table visualisation I get table with below format

 

enter image description here

how can I achieve the required format?

Thanks in advance.

3 REPLIES 3
DivyaNair
Frequent Visitor

adding data sample for easy to understand my question. My required table format isreqd1.PNG

 

and am getting below one

 

getting1.PNG

 

 

where

 

ABCD.PNG

v-yuta-msft
Community Support
Community Support

@DivyaNair ,

 

It seems like you've forgot to add the column number. 

A =
IF ( Table[Col1] = "A", "X", blank )

B =
IF ( Table[Col2] = "B", "X", blank )

C =
IF ( Table[Col3] = "C", "X", blank )

D =
IF ( Table[Col4] = "D", "X", blank )

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

A,B,C and D are derived from same column. something like column 5 has values A, B, C and D then mark it as X if it exists

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors