Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I have created fax to find max and min value as follows:
MAXRev = MAXX(ALLSELECTED(Calendar, Calendar [Quarter]),[Revenue])
MINREev =MINX(ALLSELECTED(Calendar, Calendar [Quarter]),[Revenue])
It is perfectly calculating. The problem is, if I have selected 2 years and their respective quarters say Q1 to Q4 for FY22 and Q1 to Q4 for FY23, I get max and min value for each year separately. I want to know which is max and min across 8 quarters that is displayed in visuals
Solved! Go to Solution.
Try adding Calendar[Year] to the measure.
MAXRev = MAXX(ALLSELECTED(Calendar, Calendar[Year], Calendar[Quarter]), [Revenue])
Try adding Calendar[Year] to the measure.
MAXRev = MAXX(ALLSELECTED(Calendar, Calendar[Year], Calendar[Quarter]), [Revenue])
I have already tried this. But the result is same where I get max and min for per fiscal year.
note, I have mentioned quarter sorry by Year to get correct grouping in visual
OK. There may be some other calendar column interfering. Try doing ALLSELECTED on the entire table. I'm not sure exactly what columns you have but try something like this:
MAXRev =
MAXX (
SUMMARIZE (
ALLSELECTED ( Calendar ),
Calendar[Year],
Calendar[Quarter]
),
[Revenue]
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
119 | |
83 | |
47 | |
42 | |
33 |
User | Count |
---|---|
190 | |
78 | |
72 | |
54 | |
45 |