Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Create indicator (CARD) which shows if average per day is bellow a value during one month - POWER BI

Hello everyone,

 

Please look at my last post which explain my issue.

 

Thank you,

1 ACCEPTED SOLUTION
3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , Not very clear. But in case you want a column. Have columns like these

 

Date = [DATE HOURS].date
month Year = format([DATE HOURS],"YYYYMM")

New column 1 = if([Temperature ss1] > averageX(filter(Table, [month Year] =earlier([month Year])),[Temperature ss1]),"Yes", "No")
New column 2 = if(averageX(filter(Table, [month Year] =earlier([month Year])),[Temperature ss2]),"Yes", "No")

Anonymous
Not applicable

Thank you for your answer.

 

I'm not very clear sorry, I explain again :

 

My data :

DATE HOURSTemperature ss1Temperature ss2
01/10/2020 00:005556
01/10/2020 08:005640
01/10/2020 15:005646
01/10/2020 23:005555
02/10/2020 00:005555
02/10/2020 08:005754
02/10/2020 15:005848
02/10/2020 23:005849

 

I have four temperature measurements per day and I would like to know if average temperature per day is below 55°C one time or more during one whole month.

 

Exemple : if during whole october the daily average temperature_SS1 >55, but the 11th October the daily average temperature <55 ; POWER-BI writes "0" in a measure.

Other exemple : if during all october the daily average temperature_SS1 >55 ; POWER-BI writes "1" in a measure.

 

I will use this measure in CARD. Thank to that each month I can check if temperature drops bellow 55°C each day.

The CARD will be like :

value = 0 (Not ok)

value = 1 (Ok)

 

I hope I was clear,

 

Thank you in advance !

Anonymous
Not applicable

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.