Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
visittokiran
Frequent Visitor

Use of summerize function to create new table using data from two different data tables .

friend,

I have following table in power bi data tables..

 TABLE-1 
codeareasub area
a1A1
acA2
adaA3
adaB1
aB2
daB3
daB4

 

 TABLE -2 
code  
codeCONSUMER TYPECONSUMER
a1D50
acE100
adaF150
a 300
da  

 

i wan to summerize data from these tables in new table as follow

AREASUB AREACONSUMERSUM OF CONSUMERS
A1D50
A1E 
A1F 
A2D 
A2E 
A3F 
B1D 
  E 
  F 

there is one unique coloumn also with code in both tables. 

Please help..

1 REPLY 1
v-yingjl
Community Support
Community Support

Hi @visittokiran ,

Based on your expected output, not certain how did you want to summarize it.

For example:

Why would the summarized table have 9 rows about 3 times repeat D,E,F consumer fields? If just only a simple crossjoin by consumer and area, how could the area B only have 1 row?

In addition, I have notived that the sum of consumers in the first row is 50, it related a1,A,1,1,D,50 these values.

If all datas are based on this logic, why ohters of sum of consumer values are 0? should ac,A,2,E,100 also be correct in the summarized table?

 

Perhaps you can consider sharing more details about your expected output for further discussion.

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors