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
zenton
Helper II
Helper II

CONCATENATEX contex issue

Hi, I need help with concatenatex measure.

Result in a table with LIMS Text ID gives correct result

zenton_0-1657084137017.png

When I remove LIMS Text ID I get incorrect result

zenton_1-1657084215804.png

The result I rerquire is the concatenation of all results Selenium, Zinc Copper.

 

Thanks Rodney

 

Calulations:

Limiting Contaminants Cont =
VAR VisualValues =
    CALCULATETABLE (
        ADDCOLUMNS (
            SUMMARIZE (
                Labware,
                RMD_tlkp_AnolyteMasterList[strLegendName],
                '2DateTable'[Date]
            ),
            "@Grade", Labware[Grade]
        ),
        ALLSELECTED ()
    )
VAR MAXGRADE =
    CALCULATE (
        CONCATENATEX (
            RMD_tlkp_AnolyteMasterList,
            RMD_tlkp_AnolyteMasterList[strLegendName],
            ", "
        ),
        FILTER ( RMD_tlkp_AnolyteMasterList, [Grade] = MAXX ( VisualValues, [@Grade] ) )
    )
RETURN
    MAXGRADE
 
Grade =
SWITCH (
    TRUE (),
    'Labware'[CtA] < 3.5"A",
    'Labware'[CtB] < 3.5"B",
    'Labware'[CtC] < 3.5"C",
    'Labware'[CtD] < 3.5"D",
    "E"
)
1 ACCEPTED SOLUTION

Hi @daXtreme 
The underlying data and calciulations are to complex to share. I will close this discussion and try to ask question differently

View solution in original post

2 REPLIES 2
daXtreme
Solution Sage
Solution Sage

Hi @zenton 

 

With the amount of info given, one can't build a good formula. One needs to know why you get the results in the second picture and why it's incorrect. That calls for the understanding of the underlying data.

Hi @daXtreme 
The underlying data and calciulations are to complex to share. I will close this discussion and try to ask question differently

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.