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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
paragraph
New Member

Insert Calculated Rows

Hi, 

I would like to find a way to sum the value (Time) for two different Practices (merge two Practices into one, but also have the ability to keep Time for these two practice and use it in other charts).

I have two tables Practice and Task, in Task Table I have three columns (TaskID, Practice ID and Time) and the table Practice have columns (Practice ID and Practice), so I create a relationship by PracticeID.

 

To make it simple here is how it looks:

 

PracticeTime
RE60
CORP120
DP40
M&A20
LIT50
ARB25

 

paragraph_0-1664985684101.png

 

And I would like to get this, but to leave the option to show both charts:

 

PracticeTime
RE60
CORP120
DP40
M&A20
DR (LIT + ARB)75

 

paragraph_1-1664985734122.png

 

 

This video best describes what I try to achieve:

https://www.youtube.com/watch?v=-t3DYRwsXgQ&ab_channel=Inforiver

 

Is it posible to do this by DAX or Power Query?

 

Thanks in advance!

1 ACCEPTED SOLUTION
serpiva64
Super User
Super User

Hi,

you can try using Groups

select your Column

serpiva64_0-1664986900361.png

group your values

and obtain your result

 

serpiva64_1-1664987128777.png

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

 

View solution in original post

2 REPLIES 2
paragraph
New Member

Thank you serpiva64! That's I was looking for.

serpiva64
Super User
Super User

Hi,

you can try using Groups

select your Column

serpiva64_0-1664986900361.png

group your values

and obtain your result

 

serpiva64_1-1664987128777.png

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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