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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DionTN
Helper II
Helper II

Delete rows based on filter

DionTN_1-1666422562948.png

 

See image. 

I have a DAX function which creates a mailto string:

MailTo = "mailto://"&CONCATENATEX(ALLSELECTED(Blad1),Blad1[Column1],"; ")

So all values from Blad1[Column1] are shown in the string. Now i want to filter the mail adresses i selected. How can I do that?

 

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @DionTN ,

 

I think you can try this measure to achieve your goal.

MailTo =
"mailto://"
    & IF (
        ISFILTERED ( Blad1[Column1] ),
        CONCATENATEX ( ALLSELECTED ( Blad1 ), Blad1[Column1], "; " ),
        BLANK ()
    )

Result is as below.

By Default:

RicoZhou_0-1666605274490.png

Isfiltered:

RicoZhou_1-1666605282939.png

 

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.

View solution in original post

2 REPLIES 2
v-rzhou-msft
Community Support
Community Support

Hi @DionTN ,

 

I think you can try this measure to achieve your goal.

MailTo =
"mailto://"
    & IF (
        ISFILTERED ( Blad1[Column1] ),
        CONCATENATEX ( ALLSELECTED ( Blad1 ), Blad1[Column1], "; " ),
        BLANK ()
    )

Result is as below.

By Default:

RicoZhou_0-1666605274490.png

Isfiltered:

RicoZhou_1-1666605282939.png

 

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.

lbendlin
Super User
Super User

mailto:  does not use the "//" string.  

 

It is not clear what issue you are trying to solve. Can you explain a bit more? What have you tried and where are you stuck?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors