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.
Hi the community,
I need a relatively simple calculation: sum (or month-to-date) of average daily rainfall values from different rain gauges. The calculation must be made regardless of the rain gauges(s) chosen by a slicer. I tried summarize or groupby and reach to have the calcultation for all rain gauges but I "lost" the rain gauges and I can't filter with my slicer.
Thanks for help!
Laurent
Solved! Go to Solution.
You can use the formula like this:
Sum of Daily Rainfall Avg =
SUMX(
VALUES( Table[Date] ),
CALCULATE( AVERAGE( Table[Rainfall] ) )
)
You iterate each date to calculate the average and you sum those calculated averages.
Please consider giving it a thumbs up and accept as solution if this helps!
Perfect. It's ok (and simple). Thanks to you YukiK.
You can use the formula like this:
Sum of Daily Rainfall Avg =
SUMX(
VALUES( Table[Date] ),
CALCULATE( AVERAGE( Table[Rainfall] ) )
)
You iterate each date to calculate the average and you sum those calculated averages.
Please consider giving it a thumbs up and accept as solution if this helps!
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 |
---|---|
97 | |
65 | |
45 | |
39 | |
31 |
User | Count |
---|---|
164 | |
111 | |
61 | |
53 | |
38 |