Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi, how do I split the Column "2 Value Measures" into 2 Columns, each has one measure? You can start from either photo 1 or photo 2. Thank you for your help!
Solved! Go to Solution.
Hi there,
First, you need to make some sort of classification. I am not sure if the rest of the columns can be used for this, but I notice that the two measures are in a very different scale - hundreds of thousands and numbers below 10. So here's how, in two steps, you can achieve what you're looking for:
Step1: Categorize the Measures
Step 2: Select, in this order, the categorization column and the one with the measures and use the Pivot option in the Transform section
Done:
Hi there,
First, you need to make some sort of classification. I am not sure if the rest of the columns can be used for this, but I notice that the two measures are in a very different scale - hundreds of thousands and numbers below 10. So here's how, in two steps, you can achieve what you're looking for:
Step1: Categorize the Measures
Step 2: Select, in this order, the categorization column and the one with the measures and use the Pivot option in the Transform section
Done:
It works! Thank you very much, Vitali87
To categorize the measures, I used the M code:
= Table.AddColumn(#"Source", "Custom", each if Text.StartsWith([2 Value Measures], "$") then "Sales" else "Tax")