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 have a data source as an excel file which has a particular column having multiple information in it.
I want to split the column in different columns. However the challenge i am facing is that some rows in the column have coupon information and some do not. so when i split column with delimiter the row which does not have coupon information should return null instead of filling with VAT information. Can you suggest a workaround in M for this?
Solved! Go to Solution.
If you add custom columns for each sub-field using Text.BetweenDelimiters to find the specific info, for example,
Text.BetweenDelimiters([Total with vat], "Free Shipping", ";") that should do it.
If you add custom columns for each sub-field using Text.BetweenDelimiters to find the specific info, for example,
Text.BetweenDelimiters([Total with vat], "Free Shipping", ";") that should do it.
User | Count |
---|---|
8 | |
6 | |
6 | |
5 | |
5 |
User | Count |
---|---|
9 | |
8 | |
6 | |
6 | |
6 |