The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi,
I want to create a table which contains one row per employee per day. (My end result is to show total available labour on any given day)
My existing tables are as follows
1. Date table (calendar auto)
2. Employee Name / Employee ID table
Any ideas on how to achieve this?
Solved! Go to Solution.
@Anonymous , You are creating a measure. You need to create a new table.
Also you can use summarize or selectcolumns to reduce columns
@Anonymous , Cross Join between date and Employee table
Crossjoin(Date, Employee)
refer if needed
https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/
Thanks for your response. When adding this measure I get the below error?
Please note my employees table also contains other columns such as employee ID, employee reference and so on...
@Anonymous , You are creating a measure. You need to create a new table.
Also you can use summarize or selectcolumns to reduce columns
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
79 | |
74 | |
50 | |
40 |
User | Count |
---|---|
139 | |
119 | |
74 | |
64 | |
63 |