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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lavankumar1989a
Helper II
Helper II

DAX Measure

Hi All,

 

Hope all are doing great and safe!

Need assistance on creating a measure, i have a source table like below,

LocationValue
A10
B20
C15
D25
E5
F17
G27
  

 

I am looking outcome like below,

LocationValue
A10
B20
C15
D25
E5
F17
G27
BC35
ADF52

Which means need data like a source table and extra looking like in the end need to sum of both B and C and show as BC value and same as ADF as sum of A, D and F values.

 

So kindly suggest me with a right measure. Thanks in advance for your kind support.

 

Thanks,

Lavan

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@lavankumar1989a , You have to create a table like This

Col1 , Col2

A A
B B
C C
D D
E E
F F
G G
BC B
BC C
ADF A
ADF D
ADF F

 

join col 2 with your Location and use col1, sum([value]) in the visual

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@lavankumar1989a , You have to create a table like This

Col1 , Col2

A A
B B
C C
D D
E E
F F
G G
BC B
BC C
ADF A
ADF D
ADF F

 

join col 2 with your Location and use col1, sum([value]) in the visual

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak , Thank you so much for your quick turn around. This currently i tried and it will give as expecting but i am looking is there a way to get the value by using Dax measure or column.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.