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.
On my report I have a filter so you can filter by certain dates or deviceIds. When I create a calculated table, it takes the average or max of everything, so I can't filter when I try to, the values just stay the same.
Here is currently how I am making my table. How do I fix it so it will respond when I modify dates/deviceIds? I'm assuming something with AVERAGEX / MAXX, but I am still new to those operations.
Temperature = UNION(
SELECTCOLUMNS(
viewTelemetryPeakPlus_byDay, "Measure", "Delta T (Dt)", "Calc", "Average", "Data", AVERAGE(viewTelemetryPeakPlus_byDay[AvgDeltaT]), "Date", viewTelemetryPeakPlus_byDay[date], "deviceId", viewTelemetryPeakPlus_byDay[deviceId]
),
SELECTCOLUMNS(
viewTelemetryPeakPlus_byDay, "Measure", "Delta T (Dt)", "Calc", "Peak", "Data",MAX(viewTelemetryPeakPlus_byDay[PeakDeltaT]), "Date", viewTelemetryPeakPlus_byDay[date], "deviceId", viewTelemetryPeakPlus_byDay[deviceId]
),
SELECTCOLUMNS(
viewTelemetryPeakPlus_byDay, "Measure", "Outside Air Temp (OAt)", "Calc", "Average", "Data", AVERAGE(viewTelemetryPeakPlus_byDay[AvgOAt]), "Date", viewTelemetryPeakPlus_byDay[date], "deviceId", viewTelemetryPeakPlus_byDay[deviceId]),
SELECTCOLUMNS(
viewTelemetryPeakPlus_byDay, "Measure", "Outside Air Temp (OAt)", "Calc", "Peak", "Data", MAX(viewTelemetryPeakPlus_byDay[PeakOAt]), "Date", viewTelemetryPeakPlus_byDay[date], "deviceId", viewTelemetryPeakPlus_byDay[deviceId])
)
Not sure what you mean.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@emmawdmi22 if you creating a calculated table dynamically, it cannot take value from slicer/filters.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
I will have a relationship between the Temperature table and the tables with date and deviceId. I already know this will work once I get this other piece working.
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 |
---|---|
123 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |