Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello, I am pretty new to powerBI and this forum and I am seeking help for a seemingly easy case.
I am trying to load data from multiple excel sheets which are all in a folder. Each sheet has multiple tabs with changing names. I only need data from one tab from each file.
I was trying to handle this with the following statement, but now I have problems with the syntax for the 2nd error case....basically I am trying to create a nested try-otherwise statement, but I am not sure if such a thing even exists.
#"Order List_Sheet" = try Source{[Item="Order List",Kind="Sheet"]}[Data] otherwise Source{[Item="OrderList",Kind="Sheet"]}[Data] otherwise Source{[Item="Order list",Kind="Sheet"]}[Data],
Any help on this is much appreciated.
Thanks
Solved! Go to Solution.
I think you may need another "try":
#"Order List_Sheet" = try Source{[Item="Order List",Kind="Sheet"]}[Data] otherwise try Source{[Item="OrderList",Kind="Sheet"]}[Data] otherwise Source{[Item="Order list",Kind="Sheet"]}[Data],
I think you may need another "try":
#"Order List_Sheet" = try Source{[Item="Order List",Kind="Sheet"]}[Data] otherwise try Source{[Item="OrderList",Kind="Sheet"]}[Data] otherwise Source{[Item="Order list",Kind="Sheet"]}[Data],
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
31 | |
31 | |
20 | |
15 | |
12 |
User | Count |
---|---|
18 | |
16 | |
15 | |
9 | |
9 |