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
Hello everyone,
On a report page I have several "Line and clustered column charts" with sales on the y axis and weeks on x axis. (weekly sales as lines and YTD as bars)
I have report filters:
- relative date filter which filters "This year"
- IsYTD filter (IsYTD is a column in my date table having TRUE for all days until today)
page filter:
- relative date filter which filters "the last 60 calendar weeks" (set to see just the full weeks in my charts)
right now we are in the middle of calendar week 42, so the charts should show this years data until calendar week 41 and they do show exactly this data. The problem is, that the x axis of the charts are not adjusting to my filters. Right now the charts x axis goes until week 53 having the weeks 42-53 empty instead of adjusting the axis to weekrange 1 to 41.
Is there a way to change that?
Thanks in advance
@Anonymous
You can apply a condition to your measure that you use it the chart to check if there a value to display otherwise show blank which will hide as you desire.
New Measure =
IF( ISBLANK([YOURMEASURE]), BLANK(), [YOURMEASURE])
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi Fowmy,
thanks for the quick reply. I just tried your suggestion. Strangely it just works when I set x<15 in the relative date filter for the page "is in the last x calendar weeks" .
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 |
|---|---|
| 8 | |
| 8 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 23 | |
| 13 | |
| 10 | |
| 6 | |
| 5 |