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.
Hi All
I am a new user to Power BI and would really appreciate some help. I have imported and transformed an Excel spreadsheet based on a specific date (24052022 = DDMMYYY). I have now imported an additional spreadsheet based on the 14062022. How do I create a linkage to enable my PowerBI visuals to be pointed at either dates based on some sort of dropdown?
Thanks in advance.
Regards
Gavin
Solved! Go to Solution.
Hi @grthompson76 ,
You can try something like below. I have created two sample tables named 14062022 and 24052022.
Easiest way is to add a column to each table that contains the query name. You can do this manually by adding a new column, or dynamically in Power Query by creating a parameter DDMMYYY, and adding a custom column = DDMMYYY
Next, perform a union operation in DAX to append these two tables. You will now get a single table with data from both tables, and an additional column that identifies the file.
Now in a blank table, add fields from the new union table, and use the filename as a slicer. When you select a filename, only data from that file will be filtered out and displayed.
Kind regards,
Rohit
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂
Hi @grthompson76 ,
You can try something like below. I have created two sample tables named 14062022 and 24052022.
Easiest way is to add a column to each table that contains the query name. You can do this manually by adding a new column, or dynamically in Power Query by creating a parameter DDMMYYY, and adding a custom column = DDMMYYY
Next, perform a union operation in DAX to append these two tables. You will now get a single table with data from both tables, and an additional column that identifies the file.
Now in a blank table, add fields from the new union table, and use the filename as a slicer. When you select a filename, only data from that file will be filtered out and displayed.
Kind regards,
Rohit
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂
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 |
---|---|
56 | |
54 | |
54 | |
37 | |
29 |
User | Count |
---|---|
78 | |
64 | |
45 | |
40 | |
40 |