Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
Im trying to sum the No. of Staff of a Date on a specific Date and then secondly trying to get it to return the Max Number.
I have a DateTable to combine two data sets one for Availablity and the other for forecast.
Im trying to get it to return the MAX number on either the required number or the Ave per Week so that the scaling will match. Currently as it is it is causing confusion.
Thanks in Advance
Solved! Go to Solution.
Hi @zl34567
The Max/Min value of the chart Y axis / secondary axis is evaluated outside the filter context of the visual itself. Hence, it needs to be created inside the measure. Plerase try:
MaxMeasure =
MAXX ( VALUES ( 'Table'[Date] ), MAX ( [Required Staff No.], [Ave Per Week] ) )
Hi @zl34567
The Max/Min value of the chart Y axis / secondary axis is evaluated outside the filter context of the visual itself. Hence, it needs to be created inside the measure. Plerase try:
MaxMeasure =
MAXX ( VALUES ( 'Table'[Date] ), MAX ( [Required Staff No.], [Ave Per Week] ) )
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
10 | |
6 |