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.
I have a Line and Column Chart visual on my report. The column data show's current year visits for the last week and the line chart shows prior year visits during the same time period last year. On the x-axis I have Day-Of-Month and the y-axis is the sum of total visits. During the middle of the month the visual looks great. But at the start of the month the visual doesn't work(see image below). Any ideas on how to avoid this? Do i need to do something with the sort order or is it a configuration thing?
In my date table I have the following measures created to pull last weeks data and PY last week:
Last_Week = Dim_Date[Date] >= Today()-8
PY_Last_Week = DIM_DATE[DATE] >= TODAY()-373 && DIM_DATE[DATE] <= TODAY()-366
And then in my visits table I have these measures created:
Week_TotaL_Visits = CALCULATE(SUM(VW_VISITS[TOTAL_VISITS]),DIM_DATE[Last_Week] = TRUE())
PY_Week_Visits = CALCULATE(SUM(PY_VISITS[TOTAL_VISITS]),DIM_DATE[PY_Last_Week] = TRUE())
This is how the visual should look when working:
Middle of Month
This is how the visual looks at the beginning of the month:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThis is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
75 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |