Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All,
Thank you for reading my post. I am trying to make a new dimension element by combining two element of the dimension. First of all I will walk you through the dataset. The pic of a small demo dataset is shown below.
The data has column store number, Store Name, Product, Volume/Falvir and Number of Store. The column Volumne/Flavor contains the either volume or flavor of the product. As you can see that there are different volume like, 330ml, 350ml, 1L, 1.5L and different flavor such as Apple, Coconut, Mango, Watermelon.
My desired output in the report should look like this. I want to count how many store has each Brand and volume/flavour. As you can see in the table below, I want to have a separate dimension for 330ml, 350 ml. I also want to have a separate dimension by combining these to dimension 330ml/350 ml as shown below. I am unable to make a separate dimension element by combining the two other dimension. The Number of store in 330ml/350 ml is the combination of 330ml and 350 ml.
Request for your guidance and help
Solved! Go to Solution.
Hi @Mkrishna ,
Based on your description, the desired result can be obtained by doing the following with Power Query:
1.Pivoted "Volumn/Flavor", "Number of store" columns
2.Then create conditional column
3.Unpivot columns for all categories of "Volumn/Flavor"
4.Group by Brand and Attribute
5.Check the result
Please feel free to correct me and provide more information if I have misunderstood you!
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mkrishna ,
Based on your description, the desired result can be obtained by doing the following with Power Query:
1.Pivoted "Volumn/Flavor", "Number of store" columns
2.Then create conditional column
3.Unpivot columns for all categories of "Volumn/Flavor"
4.Group by Brand and Attribute
5.Check the result
Please feel free to correct me and provide more information if I have misunderstood you!
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
@v-cgao-msft
Hello Gao, I hope you are doing well.
I was wondering if you help me model this kind of data
User | Count |
---|---|
96 | |
87 | |
78 | |
72 | |
69 |
User | Count |
---|---|
113 | |
105 | |
84 | |
65 | |
64 |