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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
MauriceK
Frequent Visitor

Dax formule with AND / OR

How to write the following formula: 

defining a formula when  a employee contract is between a slicer period. 

I use a date table with no realations to employee contract period begin / end.  Conform youtube tutorial:

Power BI From and To Date Filtering with One Slicer - YouTube

 

These are my datatables: see below.

 wrote a basic formule which is unfortunately incorrect:

Active Contract.jpg

Can somebody help me. 

Thanks in advance.

1 REPLY 1
v-yanjiang-msft
Community Support
Community Support

Hi @MauriceK ,

According to your description, I create a sample.

It gets the correct result by you formula.

vkalyjmsft_0-1656395777895.png

I'm not clear why the slicer period in each row are different.

vkalyjmsft_1-1656395833896.png

I attach my sample below, please point out the difference with yours.

 

Best Regards,
Community Support Team _ kalyj

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

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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