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! Request now

Reply
Anonymous
Not applicable

DAX Measure to Count Number of days in a Period based on Different Period Conditions

Hi All,

I have a date when a file was created, but there is a condition based on another column called group that:

if Table[group] = Critical, and the date created>30 days then days should start counting

if Table[group] = High, and the date created>30  days then days should start counting

if Table[group] = Medium, and the date created>90 days then days should start counting

if Table[group] = low, and the date created>30 days then days should start counting

 

Attached is a screenshot of sample data. Capture.PNGThanks in advance.

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

So in your sample , how many tables are there in total ? How to count the days start ? Can you provide a sample with detailed data ? If possible, provide your calculation logic and the result you want .

 

Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
 

Anonymous
Not applicable

Hi @Anonymous 

For now I am combining the tables to become one. I attached a screeshot of my calculation and logic.

 

If here is a possibility of  also giving me an instance when the table is separate as well will also go along way. Thanks.Capture.PNG

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.