Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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
User | Count |
---|---|
59 | |
22 | |
18 | |
18 | |
16 |
User | Count |
---|---|
85 | |
54 | |
45 | |
39 | |
21 |