Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi All,
I have a lot of rows from text file, something like that:
Table 1
Based on the data above, I need to create a new summary table to see such details:
Table 2
-distinct count of item
-sum of qty
-sum of orders
-type and size - no calculations
I need that as a new table and then I will create relationship between Item from Table 1 and Item in Table 2.
Is it possible? If yes, how can I do that?
Thanks,
G.
Solved! Go to Solution.
Hi @A_a_a
You could try the following:
Table 2 =
SUMMARIZE( Table1,
Table1[Item],
Table1[type],
Table1[size cm],
"qty total", SUM( Table1[qty] ),
"ordered total", SUM( Table1[ordered] )
)
You need to select "New Table" from the modelling tab in Power BI desktop, and paste in this code. Edit the table name "Table1" as appropriate.
Hi @A_a_a
You could try the following:
Table 2 =
SUMMARIZE( Table1,
Table1[Item],
Table1[type],
Table1[size cm],
"qty total", SUM( Table1[qty] ),
"ordered total", SUM( Table1[ordered] )
)
You need to select "New Table" from the modelling tab in Power BI desktop, and paste in this code. Edit the table name "Table1" as appropriate.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
65 | |
51 | |
45 |
User | Count |
---|---|
218 | |
88 | |
83 | |
65 | |
56 |