Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Create Dynamic Text to Alert User Based on Measure

Hi everyone,   I'm making a report to analyze some data. I want to implement an alert to check that the data uploaded is done correctly. Let's say I have data that looks like this:   Group Ex...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

     

    Please try this code to create a measure.

    Measure = 
    VAR _Find_Group = SUMMARIZE(FILTER('Table','Table'[Difference] = 1),'Table'[Group])
    VAR _RESULT1 = "Please check the data upload for Groups" &" "&CONCATENATEX(_Find_Group,[Group]," & ") &"."
    VAR _RESULT2 = "Data uploaded correctly"
    RETURN
    IF(SUM('Table'[Difference])>0,_RESULT1,_RESULT2)

    My Sample:

    Result is as below.

     

    Best Regards,
    Rico Zhou

     

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