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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
PBIX_COACH
Helper II
Helper II

Dax Solution to show New, Active and Closed

Hello Team,

 

I need some help with a DAX solution. I have a running table that has all my stores and a date that shows sales and is connected to a calendar date table. When a store closes, it will remain in the source spreadsheet with the last transaction date. I need to be able to create a stacked bar chart that shows Active Stores (stores not closed), New stores, and stores closed for each respective month.

 

See attached screenshot for the life cycle of one store

 

Screenshot 2022-08-12 142345.png

1 ACCEPTED SOLUTION
PBIX_COACH
Helper II
Helper II

Nevermind, I figured it out

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @PBIX_COACH ,

I am really pleased that your issue has been fixed. Would you kindly share with us about your solution here? In this way, it will be beneficial to other community members as well.

 

Best regards,
Community Support Team_ Binbin Yu

 

PBIX_COACH
Helper II
Helper II

Nevermind, I figured it out

Anonymous
Not applicable

Hi @PBIX_COACH ,

 

Can you be more specific ? How will we know if the store is closed?

If last Date is filled does it mean the store is closed ?

 

 

Regards,

Ashfiya

@Anonymous Essentially if the store dose not have a sale date in future month so for example the store shows a sale date for Jan 2021 but nothing for Feb 2021 going forward. I have a master store list and a calendar dimension table that looks into the monthly file but I can seem to figure out how to land the right approach 

PBIX_COACH
Helper II
Helper II

Any help on this one?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.