Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have multiple tables that all have date/time values for each row in the table. I am looking to create a report and would like to be able to filter over date/time but I do not have a table of unique values to create a relationship from. In addition I am using DirectQuery which does not allow me to create a summarized table of unique values. Can anyone point me in the right direction?
Thanks in advance.
Solved! Go to Solution.
You can make a time dimension without using summarize. Try making a new table with this:
TimeDim = CALENDAR(FIRSTDATE(Table[Date]);LASTDATE(Table[Date])).
Then you can link your tables to this new table, and slice on that. Let me know how it goes.
Best,
Martin
Hi Guys,
I've got a related question. I made a Date table which is working (well.. for most of the time) but I still have a problem. I'll post a print screen as well to show what is happening.
I have two tables, Actual Calls and Oppertunities, between these two I have small a Sales Rep table and a Date Table. When I make a report and filter bij Sales Rep it all works fine, when I try to filter by Date (the made date table) my Actual calls do filter but my Oppertunities dont.. I have no idea why..
Hope you can help! Thank you!
You can make a time dimension without using summarize. Try making a new table with this:
TimeDim = CALENDAR(FIRSTDATE(Table[Date]);LASTDATE(Table[Date])).
Then you can link your tables to this new table, and slice on that. Let me know how it goes.
Best,
Martin
Since I am using DirectQuery I am uanble to create a new table.
@thmonte,
You would need to create the summarized table that contains unique values in your source, and import the table to Power BI Desktop, then link your tables to the new table.
Regards,
Lydia
Thanks for the response. I am going to work on pulling in a table of unique values of date to create a relationship. Now I asked this in another thread and I haven't gotten a response but it is somewhat related. I want to use the date slicer to bring in data based on a date range between the two date columns Start Date / End Date. If you could take a look...
https://community.powerbi.com/t5/Desktop/Filtering-within-a-date-range/m-p/227773#M101499
@thmonte,
Since you have created another thread about the date range issue, please close this thread by marking approriate reply as answer.
The date range issue will be handled by our support engineer in your another thread.
Regards,
Lydia
This 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 |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
39 |