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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
PowerBiNoob37
Helper I
Helper I

How to create a column to show duplicates and another column to show missing values

Hi, i wish to have a datatable as a visual to perform quick QAQC checks on data coming in,

 

Mostly i need it to show duplicates and missing values,

 

My data currently looks like this

 

HOLEIDSampleIDFROMTO
R12345RZ99900101
R12345RZ99900212
R12345RZ99900323
R12345RZ99900434
R12345RZ99900656
R12345RZ99900878
R12345RZ99900989
R12345RZ999010910
R12345RZ9990121112
R12345RZ9990131213
R12346RZ99901401
R12346RZ99901512
R12346RZ99901645
R12346RZ99901756
R12346RZ99901867
R12347RZ99901901
R12347RZ99902012
R12347RZ99902123
R12347RZ99902345
R12347RZ99902456
R12347RZ99902567
R12347RZ99902601
R12347RZ99902712
R12347RZ99902823
R12347RZ99902945
R12347RZ99903056
R12347RZ99903167
R12347RZ9990327

8

 

however i need it too look like this

 

HOLEIDSampleIDFROMTOMissingDouble
R12345RZ99900101NoNo
R12345RZ99900212NoNo
R12345RZ99900323NoNo
R12345RZ99900434NoNo
    YesNo
R12345RZ99900656NoNo
    YesNo
R12345RZ99900878NoNo
R12345RZ99900989NoNo
R12345RZ999010910NoNo
    YesNo
R12345RZ9990121112NoNo
R12345RZ9990131213NoNo
R12346RZ99901401NoNo
R12346RZ99901512NoNo
    YesNo
R12346RZ99901645NoNo
R12346RZ99901756NoNo
R12346RZ99901867NoNo
R12347RZ99901901NoYes
R12347RZ99902012NoYes
R12347RZ99902123NoYes
    YesYes
R12347RZ99902345NoYes
R12347RZ99902456NoYes
R12347RZ99902567NoYes
R12347RZ99902601NoYes
R12347RZ99902712NoYes
    YesYes
R12347RZ99902823NoYes
R12347RZ99902945NoYes
R12347RZ99903056NoYes
R12347RZ99903167NoYes
R12347RZ99903278NoYes
2 REPLIES 2
amitchandak
Super User
Super User

@PowerBiNoob37 , create a table till max sequence

seq= generateseries(1,13,1)

 

Join the value column with to of you table. Then create a visual and use this value column from seq table in place of two and add this measure

 

measure =

if(isblank(countrows(Table) ,"Yes", "No")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

The values and table shown are examples. The true first and last is 1 or can be as high as 1000 or as low as 50.. Its random and decided on the user inputing the data.

 

Also i can do the if statment however the blanks are not there, ie. the data will look like the first example on the origional post. the second table is how i want it too look if there is an empty. Its a confusing problem thats been taking me days of using every trick i know and i still cant get it too work, however its very important to our QAQC checking

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Kudoed Authors