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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Empty card, if there is no selection.

Hello community, I'm trying one thing and I don't know where I'm making the mistake, for example, I have an array with three columns "name", "phone", "photo"

and on the other hand a card with the name and another multiple card with the photos.

when I select a record from the table it gives me the name and photo.

The problem is that I need that if there is none selected do not show me anything. he tried the

It works IF and HASONEFILTER but does not let me build the new measure with the columns I need, algien can tell me how to do it?
I put together photo in case I do not explain myself well.

fist_0-1656414838750.png

Advance Thanks

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

Hi  @Syndicate_Admin ,

Here are the steps you can follow:

1. Create measure.

 

Measure_Nombre =
IF(
HASONEFILTER('Table'[Nombre]),MAX('Table'[Nombre]),BLANK())
Measure_Foto =
IF(
HASONEFILTER('Table'[Nombre]),MAX('Table'[Foto]),BLANK())

 

2. Result:

When not selected:

vyangliumsft_0-1656660357148.png

Select a row:

vyangliumsft_1-1656660357149.png

 

Best Regards,

Liu Yang

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-yangliu-msft
Community Support
Community Support

Hi  @Syndicate_Admin ,

Here are the steps you can follow:

1. Create measure.

 

Measure_Nombre =
IF(
HASONEFILTER('Table'[Nombre]),MAX('Table'[Nombre]),BLANK())
Measure_Foto =
IF(
HASONEFILTER('Table'[Nombre]),MAX('Table'[Foto]),BLANK())

 

2. Result:

When not selected:

vyangliumsft_0-1656660357148.png

Select a row:

vyangliumsft_1-1656660357149.png

 

Best Regards,

Liu Yang

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

amitchandak
Super User
Super User

@Syndicate_Admin , you can use isfiltered

 

refer video from guyinacube - https://www.youtube.com/watch?v=sXn-QZqLD-8

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Users online (1,789)