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.
Hi,
We have a report whereby users can select certain values in slicers and if number of rows < certain amont we don't want the results to be displayed and instead display a different message - this is in order to preserve anonymity.
How can this be best achieved?
Alternatively if have column in table and when selected rows < certain value how can this best be achieved.
Tried
Thanks
Hi @po ,
Try:
Measure = IF(CALCULATE(COUNTROWS('Table'),ALLSELECTED('Table'))<10,"anno",MAXX(ALLSELECTED('Table'),'Table'[col]))
Best Regards,
Jay
@po , Try a meausre like
measure =
var _cnt = calculate(DISTINCTCOUNT('table'[col]), allselected('table'))
return
if(_cnt<10,blank(),MAXX('table','table'[col]))
Thanks for info
Thanks for info
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 |
---|---|
110 | |
94 | |
80 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |