Forum Discussion
Returning the maximum value from a table (or ideally, a box/whisker plot) to display in a card
- Anonymous6 years ago
Hi chickenlicken ,
If i understand you correctly, you can use Measures to achieve your purpose.
Here's some sample data and measures
max = MAX('Table'[Amount]) min = MIN('Table'[Amount]) score = [max]/[min]The values of max or min will be changed by slicers or page level filters and the value of formula which is using these changing values will also be changed.
For more details please check the documents below.
https://docs.microsoft.com/en-us/power-bi/desktop-measures.
https://docs.microsoft.com/en-us/power-bi/desktop-tutorial-create-measures.
BTW, if you want one of the visual to be unaffected,
for slicers, please inactive the interactions:
for filters, please use visual level filters.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Create Measure for Min and Max like below and use them into Card visuals: (Screen shot is attached)
Max = Max(Table[Value])
Min = Mix(Table[Value])
Don't forgrt to hit THUMBS UP and Accept this as a solution if it helps you!
- Tahreem246 years ago
Super User
If my post helped you so please accept this as a solution so that it will be helpful for others members.
Thanks!
- chickenlicken6 years ago
Helper I
Tahreem24 Thank you - your solution looks very simple but when I try to create a new measure I get an error- it doesn't recognise "Table"... do I need to rename the table somehow?
- Tahreem246 years ago
Super User
Can you show screen shot of it if possible?