Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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.
User | Count |
---|---|
97 | |
76 | |
76 | |
48 | |
26 |