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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
DAXterity
Frequent Visitor

Month on Month comparison of device alarms

Hi fairly new to BI and especially DAX.

I have a table that contains multiple alarms for multiple devices all with a unique alarm number. All have a time stamp received "Opened at". I want to compare month on month comparison of the amount of alarms received for each device.

I've tried a few different formulas and measures with no real success.

Basically need a count of alarms per device then a MoM comparison of how many alarms and display in a bar graph showing alarms received per month and drop of alarms in comparison to previous months, a positive/negative value bar chart.

 

Hope that makes sense. 

I have used this formula in a measure which works on the count of device names but that's where I'm not sure of what is next.

Device Alarm Count = COUNTA(Alarm[Device])

 

 

Alarm Number      Device      Alarm Description        Opened at

1                             Dev1          Alarm                            dd/mm/yyyy hh:mm:ss am

2                             Dev1          Alarm                            dd/mm/yyyy hh:mm:ss pm

3                             Dev2          Alarm

4                             Dev3          Alarm

5                              Dev2          Alarm

6                              Dev2          Alarm

 

TIA much appreciated.

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi DAXterity,

You could referto my sample to see whether it work or not. you could use quick measure to achieve this goal

 

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
dax
Community Support
Community Support

Hi DAXterity,

You could referto my sample to see whether it work or not. you could use quick measure to achieve this goal

 

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

DAXterity
Frequent Visitor

HI Zoe,

I have updated the formula to match but all i get in the table is the device and the incident count. No data for the Year Month or MoM column. 

I have the date table with link to opened at in the relationships.

The alarm number is actually alpha numeric would that cause any issues? INCxxxxxx

 

thanks

DAXterity
Frequent Visitor

Thanks very much for that Zoe. This should work nicely.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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