Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am befuddled. I have two tables I want to use to create a visual, one is the calendar (date) table, with several columns including month, month name, quarter, day name, day of week, etc. The other table has accounts, cars parked by account, check in date for when the cars parked, etc. I have calendar date linked to CheckInDate in my data table.
I can easily get a visual of all cars parked by account, with account showing on the axis. However and for instance, if I want to show cars parked by day of week, it doesn't work. If I put 'calendar'[date] in for the axis it arbitrarily (it seems) shows March 25 and gives cars parked as 1. If I try [day name] it gives me two axis items, Sunday (March 25 was a Sunday, probably not coincidentally), cars parked 1; Blank, cars parked 266.3k. If I use [day of week] it shows 7 on the axis (Sunday is my 7th day of the week) and 1 car parked.
What I want, of course, is when I use day name I get all seven names of the days of the week and cars parked for each day, all totalling up to about 266.3k. Same for day number, I would like 1-7 on the axis, etc.
If someone can help me understand what is going on I would love to hear it!
- Craig
Solved! Go to Solution.
Okay, I figured out what is happening. As a fairly new user of Power BI I made the mistake of linking the date column of my date table to a datetime column in a fact table. Man, did this mess things up. Worked much better when I added a date column to my fact table and linked the date table date to that!
Okay, I figured out what is happening. As a fairly new user of Power BI I made the mistake of linking the date column of my date table to a datetime column in a fact table. Man, did this mess things up. Worked much better when I added a date column to my fact table and linked the date table date to that!
Hi @CraigSchulz,
Glad to hear that you have resolved the problem by yourself. And thanks for sharing the resolution.
Regards,
Yuliana Gu
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
104 | |
77 | |
67 | |
63 |
User | Count |
---|---|
144 | |
107 | |
105 | |
82 | |
69 |