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
Gokul_G16
Resolver I
Resolver I

From & To Date columns based filter the count

Hello Team.,

 

If u don't mind can u please look here. only Power BI Dax

 

Column 1- date values

 

Also column 2- date values only

 

Note: coulmn 1 & coulmn 2 date are different date

 

Column 3- 'open' and 'close' text. Ok

 

Let we want to filter two conditions based ...

 

M1=calculate( count( 

column 1) ,Filter column 3 ="close"))

 

M2=calculate( count( 

column 2) , Filter column 3 ="open")))

 

Percentage.

 

M3=M1/(M1+M2)

 

So For here.

I want find percentage me based above dax format.

 

Major issues is those date columns are different.

 

I can't make any user relationship here.

Also 

I have a date calendar table,here the thing is when I click date in slicer based my date selection percentage need to change by which is here apply dax condition..

I was tried that thing it was reflecting wrong value!!!

 

So guy's can please help expedite support here..

 

Thanks

Gokul

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Gokul_G16 , refer if approch of this blog , common date table, userelationship can help

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

@amitchandak ,

Thank you very much your support.

That has been working fine...

 

 

Thanks

 

Gokul

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Gokul_G16 , refer if approch of this blog , common date table, userelationship can help

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak ,

Thank you very much your support.

That has been working fine...

 

 

Thanks

 

Gokul

 

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.