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

October 28 & 29: Experts share their secrets on how to pass the Fabric Analytics Engineer certification exam—live. Learn more

Reply

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

October NL Carousel

Fabric Community Update - October 2024

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