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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
nidquival
Frequent Visitor

How to Capture Individual Numbers in Dynamic Arrays per Cell

Good day,

 

I would like to ask if Power BI can capture the individual IDs in an entry with a dynamic count of ID values in an entry:

 

OperatorShift
11
1,22
1,3,51
22
5,4,6,7,81
3,1,4,22

 

The operator table has a varying number of values inside a cell that need to be individually checked and captured. This is because each number represents a specific name. For example,

 

OperatorIDOperatorFirstNameOperatorLastName
1ReggieAndrews
2DonaldBanks
3JohnIgnatius
4PeterJenkins
5AndrewPorts
6DavidSnow
7MichaelAnders
8MatthewLewis

 

The end goal is to capture the operator names and number of operators on a given shift.

 

Thank you,

 

Nico

4 REPLIES 4
nidquival
Frequent Visitor

I tried splitting the values, but being in DirectQuery mode, I was unable to do so. What we did instead was we separated the Operators into multiple tables. Here is the schema of the tables:

 

nidquival_0-1621565166499.png

The mainID of the Main table has active one-to-one connections with the different Operator[x] tables. As such, I cannot create active many-to-one connections from the different Operator[x] tables using the OperatorID to the Operator table. Currently, the relationships are set to inactive, and I am supposed to filter out the name of the specifically selected operator.

 

nidquival_0-1621572112526.png

Is there a way by DAX for me to filter the said table as I am using Directquery? 

 

Thanks,

 

Nico 

Anonymous
Not applicable

Hi @nidquival ,

 

Not clear about the expected result you want. Can you provide the expected result?

 

Best Regards,

Stephen Tao

 

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

amitchandak
Super User
Super User

@nidquival , One option it split the first column of the first table into rows in power query

https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/

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

@amitchandak, can this be done automatically using power query? The values will be coming from a database so the transactions will be constantly appended.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.