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.
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
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
44 | |
41 | |
39 | |
37 |