cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.

Top Solution Authors
Top Kudoed Authors