Forum Discussion
Value in visuals based on Max value in another dataset
- Anonymous6 years ago
Hi Dave6547 ,
Please check the Pbix.
There might be some differeces with your table, if you don't have any Confidential Information, better to share your pbix to us.
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.
Hi Dave6547 ,
Please refer to the following steps.
1# Create a measure as below.
Measure = CALCULATE(SELECTEDVALUE('Table'[Column1]),FILTER('Table','Table'[Column2]=MAX('Table'[Column2])))2# Create a visual for dataset 1 and create a measure as below then add it to visual level flter.
Measure 2 = IF(SELECTEDVALUE('Table (2)'[Column1])=[Measure],1,BLANK())Result would be shown as below.
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.
Hi Jay,
Thanks for the response.
I am still having a bit of trouble.
The first measure you described does get me to the time of day that the max occurs.
The second measure comes up as blank when I put it into a visual, and the filter dropdowns for measure 2 do not allow me to interact with them and set to 'is not blank'
This is what I have for the measures.
Also,
I don't want to display all of the visuals as a table, will this method work with guages as well?
Appreciate your help.
Cheers!
- Anonymous6 years agoNot applicable
Hi Dave6547 ,
Please check the Pbix.
There might be some differeces with your table, if you don't have any Confidential Information, better to share your pbix to us.
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.