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 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
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |