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.
I'm trying to create a "details" section for a report that shows data about a selected item using text box values. The issue is that when nothing--or a filter that results in more than one row--the text values default to the "first" item of the column, showing a colletion of random values not relevant to each other. Is there any way I could make the text blank/hide it somehow without having to add a row to the data source?
- Incorrect Values
- Correct Values
I'm open to creative ideas, aside from manipulating the data itself. I haven't been using PowerBI for very long so my scope is currently pretty narrow when it comes to fixing random little things like this.
Solved! Go to Solution.
You can create 'Calculate' measures that uses 'HASONEVALUE' on the project.
Something like should work for you.
Selected Customer =
IF(
HASONEVALUE('tableName'[ProjectColumn]),
MIN('tableName'[CustomerColumn]),
""
)
Proud to be a Super User! | |
You can create 'Calculate' measures that uses 'HASONEVALUE' on the project.
Something like should work for you.
Selected Customer =
IF(
HASONEVALUE('tableName'[ProjectColumn]),
MIN('tableName'[CustomerColumn]),
""
)
Proud to be a Super User! | |
That works great, thanks for the help!
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 |
---|---|
106 | |
105 | |
79 | |
69 | |
61 |
User | Count |
---|---|
143 | |
104 | |
103 | |
82 | |
70 |