Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Dear all,
I have a dax function like below. And I have a sclier to filter each person.
Solved! Go to Solution.
HI @xiumi_hou ,
I think it should more be related to selectedvalue function, it will return blank when it returns multiple results, you can try to follow measure formula if it works:
1st outreach outbound =
VAR BaseLineBaseDate =
    MIN ( Calls[date_start] )
RETURN
    CALCULATE (
        SELECTEDVALUE (
            Calls[Calls_cstm.channel_c],
            CONCATENATEX (
                VALUES ( Calls[Calls_cstm.channel_c] ),
                [Calls_cstm.channel_c],
                ","
            )
        ),
        FILTER (
            Calls,
            Calls[date_start] = BaseLineBaseDate
                && Calls[direction] = "Outbound"
        )
    )
Regards,
Xiaoxin Sheng
HI @xiumi_hou ,
I think it should more be related to selectedvalue function, it will return blank when it returns multiple results, you can try to follow measure formula if it works:
1st outreach outbound =
VAR BaseLineBaseDate =
    MIN ( Calls[date_start] )
RETURN
    CALCULATE (
        SELECTEDVALUE (
            Calls[Calls_cstm.channel_c],
            CONCATENATEX (
                VALUES ( Calls[Calls_cstm.channel_c] ),
                [Calls_cstm.channel_c],
                ","
            )
        ),
        FILTER (
            Calls,
            Calls[date_start] = BaseLineBaseDate
                && Calls[direction] = "Outbound"
        )
    )
Regards,
Xiaoxin Sheng
UP
Hi
I wonder if your issue is related to the "blank" record created by Power BI when you are relating two tables and the one or many values for the relevant field is not found on one of the tables.
example
table 1
| Name_number | Name | 
| 1 | paul | 
| 2 | john | 
| 3 | Juan | 
| 4 | Tomas | 
| 5 | Ivan | 
table 2
| Product Count | Name_number | 
| 10 | 1 | 
| 2 | 3 | 
| 6 | 10 | 
| 6 | 8 | 
Final report
| Product count | Name | 
| 10 | paul | 
| 2 | Juan | 
| 12 | blank | 
Is this your issue?
Thank you
Tomas
@Anonymous Thanks for answering. Yes, I do can not found some records. But the records do exit in my database...
Can you share some sample of when it is not working?
Tomas
I got the issue. The issue is For example, I have two records for the same person same date
Example,
Person 1 July, 18 3:00pm outreach=email
Person 1 July, 18 3:00 pm outreach =phone
Persno 1 August, 1st, 8:00 pm outreach=email
If the stituation is like above, the first outreach is at same day, same time, How can I get out the data?
@Anonymous
UP
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.