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.
Hey guys,
Putting together a project which will mash up our company data with publicly available data from congress. I am putting together a little information section of the report which will have the Name, Party, State etc. of the selected Congressman. But I do not want the text to be populated unless a selection on the filter has been made. I tried the below with a calculated column, but it didn't work:
Name_Dynamic = if(COUNTROWS('Legislators - ALL API') > 1, "Select a Congressman", 'Legislators - ALL API'[name])
any ideas? Thanks.
Solved! Go to Solution.
are using a measure?. This work in a measure not a calculated column
hi @jsabo
Name_Dynamic = if(COUNTROWS('Legislators - ALL API') > 1, "Select a Congressman", Values ('Legislators - ALL API'[name]))
Thanks for the suggestion, @Vvelarde! It just gets stuck as "Select a Congressman" unfortunately... it doesn't change when a selection is made.
are using a measure?. This work in a measure not a calculated column
ah, of course! That worked. Thanks very much!
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 |
---|---|
104 | |
96 | |
80 | |
67 | |
62 |
User | Count |
---|---|
138 | |
107 | |
104 | |
82 | |
63 |