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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
JWPowder
Frequent Visitor

Combining all rows of text in with the same date AND shift

Hello, I have a shift report that has mulltiple products names for the same date and shift. My goal is to combine all of the product names for a given shift each day so I can display it as a "current products" dynamic text box on my daily report. Would also need the expression to not include text where "Down" or "0" are the only cell content

 

Sample Data: 

JWPowder_0-1690465105864.png

 

Desired Result (using 1/13/2023, shift 3 as example) : 

 

Current Products: GEORGIAN GRAY WRINKLE, 195-E-BROWN,POST OFICE BLUE II, CNH CE GRAY II, FCA GRAY PRIMER 3rd FPO, FCA, SILVER VEIN

 

 

Thanks in advance!

1 ACCEPTED SOLUTION
2 REPLIES 2
mlsx4
Memorable Member
Memorable Member

@mlsx4 , That was a very helpful post. I grabbed the example and modified with the parameters I listed above. Thank you!

 

 

Product List = 
CONCATENATEX (
    CALCULATETABLE ( VALUES ( ProductionLog[Product Name] ),
        FILTER ( ALL ( ProductionLog ),
            ProductionLog[Date_] = EARLIER(ProductionLog[Date_])
                && ProductionLog[Shift] = EARLIER(ProductionLog[Shift])
                && ProductionLog[Product Name]<>"DOWN"
                && ProductionLog[Product Name]<>"FULL SOLVENT IN PROCESS"
                && ProductionLog[Product Name]<>"0"
                && ProductionLog[Product Name]<>"FULL CLEAN NEEDED"
                && ProductionLog[Product Name]<>"DOWN FOR MAINTENANCE"
                && ProductionLog[Product Name]<>"NEEDS CLEAN INTO"
                && ProductionLog[Product Name]<>"CLEAN NEEDED")),
    [Product Name],
    " , "
)

 

Result:

Text box with a dynamic value of first product list where date equals today.

JWPowder_0-1690486771195.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.