This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I used the filter type "Relative date" and select "is in the last 6 month". The date range came out 7/27/2022 - 1/26/2023. The bar for 2022-07 had data from 7/27 - 7/31. It is irrelevant. How can I exclude the bar for 2022-07? Or how can I set the bar chart displalys 6 bars for each group? Or if there other solutions? Thanks.
I figured it out. I created a calculateld column and filter it = 1.
6 Months = var _maxdate = MAX(DSTrends[Year Month])
return
IF(DATEDIFF(DSTrends[Year Month],_maxdate,MONTH) in GENERATESERIES(-5,5,1),1,0)
hi @danyeungw ,
You can use an additional column like https://community.powerbi.com/t5/Desktop/Relative-Date-Does-not-Work-with-quot-Show-Items-Without-Da... to customize it the way you want, in this example you can see how it has been filtered for last 24 months
Regards,
Ritesh
Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !! PL 300 Certification Series
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 26 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 42 | |
| 41 | |
| 21 | |
| 20 |