Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
one column has month-year and another column is weekend-dates, like below image
i want to have only one matching month and year of the month column, like below
the issue is starting of month and end of month sometimes present in previous month as highlighted in first image,
can someone help me get the result of 2nd image, any date is fine as long it is only one date matching the month column, so i could use it in my slicer.
Solved! Go to Solution.
@newlearnpbi123 You can create new column like
Hi @newlearnpbi123 ,
You can try this way:
Here is my sample date:
I use these DAXs below to create two new columns to extract year and month:
Year = YEAR('Table'[Date])
Month = MONTH('Table'[Date])
Then I use this DAX to create a new table to achieve your purpose:
Slicer =
SUMMARIZE(
'Table',
'Table'[Year],
'Table'[Month],
"slicer",
MIN('Table'[Date])
)
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @newlearnpbi123 ,
You can try this way:
Here is my sample date:
I use these DAXs below to create two new columns to extract year and month:
Year = YEAR('Table'[Date])
Month = MONTH('Table'[Date])
Then I use this DAX to create a new table to achieve your purpose:
Slicer =
SUMMARIZE(
'Table',
'Table'[Year],
'Table'[Month],
"slicer",
MIN('Table'[Date])
)
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@newlearnpbi123 You can create new column like
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
13 | |
11 | |
8 |