Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi
I need to display the selected age in my report. I've tried these 2 options, however this always shows only the min and max values from the table. So for example when I select age 14 - 24 and apply many other filters, these numbers will change picking the mi and max value from the table, rather than displaying what the user picked in the filter.
Solved! Go to Solution.
I managed to solve it myself 🙂
VAR MinAge = CALCULATE( MIN('Table'[Age]), ALLSELECTED('Table') ) VAR MaxAge = CALCULATE( MAX('Table'[Age]), ALLSELECTED('Table') ) RETURN IF( ISFILTERED('Table'[Age]), "| Age: " & MinAge & " - " & MaxAge, BLANK() )
I managed to solve it myself 🙂
VAR MinAge = CALCULATE( MIN('Table'[Age]), ALLSELECTED('Table') ) VAR MaxAge = CALCULATE( MAX('Table'[Age]), ALLSELECTED('Table') ) RETURN IF( ISFILTERED('Table'[Age]), "| Age: " & MinAge & " - " & MaxAge, BLANK() )
Hi @WOLFIE,
Could you share a simple pbix with some date so I can take a look?
Proud to be a Super User!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
92 | |
83 | |
71 | |
49 |
User | Count |
---|---|
143 | |
120 | |
110 | |
59 | |
57 |