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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Find missing data in sequency

Hi everyone, 
Im trying to find the missing numbers for the Number column below:

 

Gabriel00_0-1700129697329.png

Each sequence of numbers has a unique name next to it. AB,AC and AD
I need to isolate the missing numbers in these sequences, like 1240, so I can use them in a table.

 

Serries

Missing Number

AB

1240,1249

AC

12359, 12361,12362

AD

222,225,228

 

I´ve tried using generate series and contactenx but I couldn’t get it to work.
Appreciate your help and support 🙂
Thanks,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, I created a small sample dataset based on the values you provided for the series 'AB'. I believe the below is doing what you're after:

TobyNye_0-1700132345479.png

One thing to note, this measure will only work if your visual table only has one row per series name (which is what it seemed like you wanted anyway). It can be tweaked to remove filter context then reapply only the filter on series name, let me know if this is needed and I'll take a look. Hope this helps, let me know if you have any issues or further questions.

View solution in original post

2 REPLIES 2
ryan_mayu
Super User
Super User

@Anonymous 

you can do this in PQ.

pls see the attachment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Hi, I created a small sample dataset based on the values you provided for the series 'AB'. I believe the below is doing what you're after:

TobyNye_0-1700132345479.png

One thing to note, this measure will only work if your visual table only has one row per series name (which is what it seemed like you wanted anyway). It can be tweaked to remove filter context then reapply only the filter on series name, let me know if this is needed and I'll take a look. Hope this helps, let me know if you have any issues or further questions.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.