cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DimitriD
Helper I
Helper I

All result with isfiltered

Hello dear community,
I hope you're doing well.
I have a problem with my measurement.
I have 3 tables with data (cities, highways, camera, longitude, latitude, ...)
I would like a measure that gives me the cameras for the selected city.
I have a result but it only displays one result.
Can you help me ?
thank you

 

DimitriD_0-1636138751021.png

DimitriD_2-1636138850268.png

Sorry I can't upload the little PBI sample.

Measure = 

Camera = If(ISFILTERED(Logo[City]),FIRSTNONBLANK(City_Cam[Camera],1)," ")
If I select Paris, I see only in the card = A1 but I want to see A1, A2, ... all camera. 
 
Thank you
Thank you. 

 

1 ACCEPTED SOLUTION

To list the values you can use the following measure:

Camera values =
VAR _table =
    VALUES ( Localisation[Camera] )
RETURN
    IF (
        ISFILTERED ( Logo[City] ),
        CONCATENATEX ( _table, Localisation[Camera], ", " )
    )

result.PNG

I've attached the sample PBIX file for you 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

8 REPLIES 8
v-easonf-msft
Community Support
Community Support

Hi, @DimitriD 

Thanks to @PaulDBrown  for a good way to do this, I didn't even notice function  CONCATENATEX.

If you have solved the problem, please Accept @PaulDBrown  reply as Solution to close this thread.

Other community members will easily find the solution when they get the same issue.

 

Best Regards,
Community Support Team _ Eason

v-easonf-msft
Community Support
Community Support

Hi, @DimitriD 

I checked your report, and you seem to use card visual to display the results. Unlike a table visual, only one final result is allowed to be displayed in a card visual. You cannot use card visual to group and display multiple results.
 
Best Regards,
Community Support Team _ Eason

 
 
PaulDBrown
Super User
Super User

Please provide sample data (doesn't have to be real data) for all 3 tables





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hello,

I can't upload because I dont see how to do (dont see add fle as attachement). if you confirm that you can't help without the sample, I close my question. 

Thank you 

You can upload the file to DropBox, Google Drive, OneDrive... and share the link from there





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Hello, 

 

here is the link 

Example 

 

Thank you 

To list the values you can use the following measure:

Camera values =
VAR _table =
    VALUES ( Localisation[Camera] )
RETURN
    IF (
        ISFILTERED ( Logo[City] ),
        CONCATENATEX ( _table, Localisation[Camera], ", " )
    )

result.PNG

I've attached the sample PBIX file for you 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






@PaulDBrown 

Thank you very much. 

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!