cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
psfard85
Frequent Visitor

Summerize an virtual table in a measure

Hi guys,

I wanna write a measure, in which I create a virual table, then summarize that virtual table with sum aggregation and at the end I use one of that summarized table to make my measure!

How could I write such a measure?

Many thanks in advance 

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

Your question is not really clear if you could follow the guidelines suggested here I'm sure we could help

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/td-p/1447523/jump... 

 

At the moment it seems like your asking how to write a measure like the following, but that seems rather pointless since it will always return a constant value

 

        VAR tbl = { 1, 2, 3
        RETURN SUMX ( tbl, [Value] )

View solution in original post

1 REPLY 1
d_gosbell
Super User
Super User

Your question is not really clear if you could follow the guidelines suggested here I'm sure we could help

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/td-p/1447523/jump... 

 

At the moment it seems like your asking how to write a measure like the following, but that seems rather pointless since it will always return a constant value

 

        VAR tbl = { 1, 2, 3
        RETURN SUMX ( tbl, [Value] )

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!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.