Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello friends!! I have a date segmenter with the option between and what I need is that a card shows the month and year of both dates.
If we look at the capture, on the card it should say November-2021 / January-2022.
Can you do that?
Thanks a lot.
Solved! Go to Solution.
You have to create a measure to do this
Measure 3 =
var StartSlicer = MIN('Table'[Column3])
var EndSlicer = MAX('Table'[Column3])
return
MONTH( StartSlicer ) & "-" & YEAR( StartSlicer ) & " / " & MONTH( EndSlicer ) & "-" & YEAR( EndSlicer )
You will get something like this : 11-2021 / 1-2022. You can add a switch to convert month number
You have to create a measure to do this
Measure 3 =
var StartSlicer = MIN('Table'[Column3])
var EndSlicer = MAX('Table'[Column3])
return
MONTH( StartSlicer ) & "-" & YEAR( StartSlicer ) & " / " & MONTH( EndSlicer ) & "-" & YEAR( EndSlicer )
You will get something like this : 11-2021 / 1-2022. You can add a switch to convert month number
Thanks a lot!!
@Syndicate_Admin , Check if you can use timeline slicer
https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa104380786?tab=overview
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
79 | |
65 | |
52 | |
30 |
User | Count |
---|---|
115 | |
114 | |
71 | |
66 | |
39 |