Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
Im having difficulties with a simple task: I several sets of data with date values. I want to be able to create a report where for example a table containing sales and another table containing costs are filtered by year, quarter, month etc.
Creating columns for all these tables would be silly. Should I make a separate "date table" that filters other tables or how should i do this?
Thanks for the help!
Solved! Go to Solution.
@Anonymous , yes you should create a date table. and join all your dates with those tables.
If one table has more than one date, then only one will be active. Other you can activate using, userelation.
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
See if my webinar on Time Intelligence can help: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-YTD-LYTD-Week-Over-Week/m-p/1051626#M184
userelation - only when you have more than one date in table
https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi
Appreciate your Kudos.
Hi @Anonymous ,
I think these blogs will help you.
Power BI Date Dimension; Default or Custom? Is It Confusing?
And you could reference these ones to learn how to create a date table.
Using a Date Dimension Table in Power BI
Hi @Anonymous ,
I think these blogs will help you.
Power BI Date Dimension; Default or Custom? Is It Confusing?
And you could reference these ones to learn how to create a date table.
Using a Date Dimension Table in Power BI
@Anonymous , yes you should create a date table. and join all your dates with those tables.
If one table has more than one date, then only one will be active. Other you can activate using, userelation.
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
See if my webinar on Time Intelligence can help: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-YTD-LYTD-Week-Over-Week/m-p/1051626#M184
userelation - only when you have more than one date in table
https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi
Appreciate your Kudos.
User | Count |
---|---|
77 | |
76 | |
45 | |
31 | |
27 |
User | Count |
---|---|
98 | |
89 | |
52 | |
48 | |
46 |