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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
lucpaymetals
Frequent Visitor

Current Day slider button

Hello,

I need a button that if you click on it, it will filter everything by the current day. I need to put this in a slicer so i can filter everything by it. 

Does anyone know how todo this.

Currentday = IF(DAY(TODAY())=DAY(ValueEntries[Document_Date].[Date]),1,0)

This is what I have but it does not seem to work.

Thank you.

1 REPLY 1
marcelsmaglhaes
Super User
Super User

Hey @lucpaymetals 

 

You need create a COLUMN in your table, and not a measure. 


Current Day = IF(ValueEntries[Document_Date] = TODAY(), 1,0)
 
If this post helps, please mark as solved to help other users find quickly in our community!

Regards,
Marcel 


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!
Imagem de fundo



Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.