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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
milomilo2020
Frequent Visitor

Count Ticket depending on Status

Hey, thanks for the help.

I have this table:

milomilo2020_2-1652881243593.png

 

one action_id can have multiple ds_action_sk. On the other hand, each ds_action_sk canhave multiple status .

I need to create a DAX measure in order to visualize the change of status by insertion_date:

milomilo2020_3-1652881284944.png

 

So the first time action_id = 122331 appeared was on 2/1/2022 with status=Open (We have a 1 on the 2/1/2022 representing the count of action_id. Then it appears again on 4/1/2022 but it has the same status = Open ( Noticed in the table that we still have the count '1' on 4/1/2022, as there is only one action_id (122331 ) with status Open , it doesn't take into account the ds_action_sk )

BUT on 5/1/2022 the action_id = 122331  changes to Closed, then in the table we see that the status Open status now has 0 counts and the status Closed starts to have a 1 count.

 

Thanks for the help

 

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @milomilo2020 

Not sure about your needs, are you trying to create a matrix table with date as column and status as row to count all tickets with status open?

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.