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.
Hello everyone,
I'm new to Power BI and I want to create a table visual that shows "To view notes, please select an area from the area slicer" unless an area from the slicer is selected, in which case it will show the notes.
I have a table of Areas, and a table of Notes that contain comments about visuals in the area. I am attaching screenshots of the data and the relationship between them in power bi here:
The Areas from the Areas1 table is connected to the Areas in the notes table via a many to 1, single cross filter direction.
In Dax, I created two measures:
Why doesn't the dax work and how can I fix it? Thank you!
Solved! Go to Solution.
Hi, @indigodiv
Since there are multiple notes in one area, you cannot get the correct return result.
Try to modify the measures as follows:
Notes Measure =
IF( ISFILTERED(Areas[Area]) = TRUE, CONCATENATEX(values(Notes[Notes]), [Notes],"; "),
"To see notes, please select a Service Area from the Service Area Slicer")
Result:
Please refer to the attachment below for details.
Hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @indigodiv
Since there are multiple notes in one area, you cannot get the correct return result.
Try to modify the measures as follows:
Notes Measure =
IF( ISFILTERED(Areas[Area]) = TRUE, CONCATENATEX(values(Notes[Notes]), [Notes],"; "),
"To see notes, please select a Service Area from the Service Area Slicer")
Result:
Please refer to the attachment below for details.
Hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@indigodiv , you have to create measure like
if( Isfiltered (Areas1[Areas]), [Measure], blank())
Thank you for your response!! Would this new measure be in addition to the two other dax measures I wrote? What does this third one do?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
18 |