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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.