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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.