Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hello,
I have several tables with identical fields. So far I have been loading and then appending the tables and then writing/applying my measures (rather than writing the same set of measures for each individual table).
Is this the most efficient/normal way to work with several tables? I.e. is this the norm or is there a more efficent way to to write measures that would say calculate a mean over several tables?
Thanks,
A
Solved! Go to Solution.
Hi @adavid999
What you're doing sounds good. Append the tables in Power Query, so that you have everything consolidated in one table and you can have your measure operate in just one table. If it's tables with the same columns as you describe it doesn't make sense to operate on them separately
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
@adavid999
The best method would be to combine the tables. You can combine all those tables onto a single table using either the APPEND option in Power Query or the UNION function in DAX.
Please refer to below article:
Append: https://docs.microsoft.com/en-us/power-query/append-queries
Union: https://docs.microsoft.com/en-us/dax/union-function-dax
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Between Append and Union which will take less time to load? I am currently using union and my model takes alot of time to refresh. If I switch to append will it be faster?
Hi @adavid999
What you're doing sounds good. Append the tables in Power Query, so that you have everything consolidated in one table and you can have your measure operate in just one table. If it's tables with the same columns as you describe it doesn't make sense to operate on them separately
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
31 | |
15 | |
14 | |
13 | |
9 |