Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello everyone,
I am relatively new to Power BI and am still learning DAX.
I am currently pulling in data from a website which gives me the temperature of a specific area five days out. The data gives multiple temperatures per day (one every 3 hours or so). Right now I am trying to build measures to get the MAX and MIN of the temperatures per day, but am struggling to come up with the formulas.
I currently have the following formula:
MAXVALUEDATE=CALCULATE(MAX)[Temp]),FILTER(Forecast,[DATE]))) and it is only giving me the Max value for all the dates that are imported.
Solved! Go to Solution.
Hi,
You can get a summarized table using this,
Table = GROUPBY(Forecast ,Forecast[Date] ,"MaxTemp",MAXX(CURRENTGROUP(),Forecast[Temp]) ,"MinTemp",MINX(CURRENTGROUP(),Forecast[Temp]) )
Hi,
You can get a summarized table using this,
Table = GROUPBY(Forecast ,Forecast[Date] ,"MaxTemp",MAXX(CURRENTGROUP(),Forecast[Temp]) ,"MinTemp",MINX(CURRENTGROUP(),Forecast[Temp]) )
Thank you very much!
I had not considered the approach of making a new table, but it summarizes everything perfectly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
117 | |
104 | |
77 | |
73 | |
50 |
User | Count |
---|---|
145 | |
109 | |
108 | |
90 | |
64 |