Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
89 | |
77 | |
62 | |
47 | |
39 |
User | Count |
---|---|
118 | |
85 | |
80 | |
58 | |
40 |