Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I've been trying to display the peak value and date based on a graph. In my sample, I want to display 432,769.65 and 30-Tue.
Solved! Go to Solution.
Hello @powerbiguy_ ,
I agress with @Ritaf1983 solution but if you want without clicking a point, then you should create measure as below depends on the maximum value card visual will update automatically.
Here is the sample data that I considered:
Your calculated measure looks as below:
Card Measure =
Var a = MAX('Table'[Sales])
Var b = LOOKUPVALUE('Table'[Date],'Table'[Sales],a)
Return
"Maximum Sales are: "&a& UNICHAR(10)&"On: "&b
Output looks as below:
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
Hello @powerbiguy_ ,
I agress with @Ritaf1983 solution but if you want without clicking a point, then you should create measure as below depends on the maximum value card visual will update automatically.
Here is the sample data that I considered:
Your calculated measure looks as below:
Card Measure =
Var a = MAX('Table'[Sales])
Var b = LOOKUPVALUE('Table'[Date],'Table'[Sales],a)
Return
"Maximum Sales are: "&a& UNICHAR(10)&"On: "&b
Output looks as below:
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
I thought that @powerbiguy_ wanted value based on his hovering.
Now, I understand that he wants the maximum value and its date.
I deleted my suggestion
I made some measures.
Step 1: I read the same data file 3 times , names of those datasheets are 'Sheet1', 'Sheet1+1', 'Sheet1-1' each.
Step 2: I added an index column in the 1st table 'Sheet1'.
Step 3: I added an index column in the 2nd table 'Sheet1+1'.
Step 4: I added an index column in the 3rd table 'Sheet1-1'.
Step 5: I made 2 relationships.
Step 6: I made some columns in 1st table 'Sheet1'.
Step 7: I made a mesure.
User | Count |
---|---|
123 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
183 | |
90 | |
67 | |
62 | |
53 |