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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
snifer
Post Patron
Post Patron

how take in consideration just month?

I want to create a column that give me True or false for this condition in screenshot

 

 

Problem is i want to know if just month it is different not day, how I can do it?Capture.PNG

1 ACCEPTED SOLUTION

In that case, Create two custom column to extract month & year.

Date.Month(Datefield1)&" " Date.Year(Datefield1).
Similarly for another Date field

Use these two columns in the condition. Hope it will help you better!

View solution in original post

3 REPLIES 3
SivaMani
Resident Rockstar
Resident Rockstar

@snifer,

 

It's simple. Just have a look about Conditional Column,

 

Conditional Column.PNG

 

Otherwise,

 

Use this code - if [your condition] then true else false

hi, how I can specify to take in considerartion just the month?

In that case, Create two custom column to extract month & year.

Date.Month(Datefield1)&" " Date.Year(Datefield1).
Similarly for another Date field

Use these two columns in the condition. Hope it will help you better!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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