Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Team,
The below snapshot picture is the new requirement which I need to display on my dashboard.
Basically, I need to display the current month (say JAN 2026) and Compared with: previous month (say DEC 2025).
Also, pick the dates from the Calendar icon as shown in the picture.
Any help is appreciated.
Thanks,
STV
Solved! Go to Solution.
Hi @STV,
Thank you @Irwan, @techies, for your insights.
You can achieve this in Power BI by using a standard date slicer for custom date selection, together with a disconnected comparison table and DAX measures to calculate the previous equivalent period dynamically. I’ve set up this method to provide flexible date selection and automatic previous-period comparison, and I’ve attached the PBIX file for your reference.
Thank you.
Hi v-saisrao-msft,
Unfortunetly, the issue is still open. to be more specific, her is how it should look like when I click on the Calendar icon and would be able to select my own dates from the last month period. Appreciate your help.
Thanks!
HI @STV,
Have you had a chance to review the solution we shared earlier? If the issue persists, feel free to reply so we can help further.
Thank you.
Hi @STV,
Thank you @Irwan, @techies, for your insights.
You can achieve this in Power BI by using a standard date slicer for custom date selection, together with a disconnected comparison table and DAX measures to calculate the previous equivalent period dynamically. I’ve set up this method to provide flexible date selection and automatic previous-period comparison, and I’ve attached the PBIX file for your reference.
Thank you.
Hi @STV should the current vs previous month range appear as a header summary like this example?
@Irwan - Thanks a bunch for your help. It gave some idea on how to use the conditional formatting.
Couple of questions:
1.How are you able to display that tiny calendar icons
2. How did you use both Desc1 and Desc2 in one rectangle shape.
Sorry for the silly questions.
hello @STV
1. that is a between date slicer but if you resize small enough, it will show a between date without the slider
2. that are two rectangular shape, each shape for one measure. because as far as my knowledge, concatenate command in pbi can not create a new line like alt+enter in excel, so we need to create two shape and place side-by-side.
Hope this will help.
Thank you.
hello @STV
this is the best visual that i can do that match to your screenshot.
there is no dashboard as your screenshot so you need to have some work around.
1. create a measure for current month
Desc1 =
var _MinCal1 = EOMONTH(TODAY(),-1)+1
var _MaxCal1 = EOMONTH(TODAY(),0)
Return
_MinCal1&" - "&_MaxCal1
Desc2 =
var _MinCal2 = MIN('Calendar 2'[Date])
var _MaxCal2 = MAX('Calendar 2'[Date])
Return
"Compared with: "&_MinCal2&" - "&_MaxCal2
4. in text conditional formating, choose Field value under Format style, then use the measure for current month.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 22 | |
| 14 | |
| 10 | |
| 6 | |
| 5 |