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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Jorge_Dier
Frequent Visitor

Make a SUM of 2 measures in a different table

Hi guys, I'm looking for some help with the following issue.

I've calculated the following visualization table using measures for each output MIN, AVG, MAX, Q1, Q2, Q3. 

Jorge_Dier_0-1643995280198.png

Now I need to make an addition of those results per index, for instance, the 2 first lines have the index # 1, then I need to sum up the results of the MIN, AVG, MAX, Q1, Q2, Q3. Since the results comes from different measures, I'm not able to create a new visulization table grouping the results by index. Hope you can help me guys.

Jorge_Dier_0-1643996375643.png

 

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @Jorge_Dier ,

 

Create measure as below:

sum_min = SUMX(FILTER(ALLSELECTED('table'),[index]=SELECTEDVALUE([index])),[min])

sum_avg = SUMX(FILTER(ALLSELECTED('table'),[index]=SELECTEDVALUE([index])),[avg])

...

etc.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @Jorge_Dier ,

 

Create measure as below:

sum_min = SUMX(FILTER(ALLSELECTED('table'),[index]=SELECTEDVALUE([index])),[min])

sum_avg = SUMX(FILTER(ALLSELECTED('table'),[index]=SELECTEDVALUE([index])),[avg])

...

etc.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
jdbuchanan71
Super User
Super User

@Jorge_Dier 

Why can you not just remove the extra fields and have index and the measures to get the view you want?

That's a good question but the results are not the expected ones because each tag description has a different name.

Jorge_Dier_0-1643996781519.png

Expected results:

Jorge_Dier_1-1643996823715.png

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.