Is it possible to have a Power Query source statement be case in-sentitive?
source
For example, I have 10 excel files in a folder that I need to import into my data model; with the desired data in sheets named either Detail or DETAIL.
Detail
DETAIL
I'm using the following statement to reference the sheets, but need to modify it so the query with work for both names:
= Source{[Item="DETAIL",Kind="Sheet"]}[Data]
Is it possible to do this?
The usual format is = try xxx otherwise yyy so this should work for you
= try Source{[Item="DETAIL",Kind="Sheet"]}[Data] otherwise Source{[Item="Detail",Kind="Sheet"]}[Data]
1.4m articles
1.4m replys
5 comments
56.9k users