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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Regil
Frequent Visitor

Measure for all columns

Hi,

 

Thanks in advance for reading my post. Newbie here and learning about measures. I have my measure below:

 

Grant Pipeline Submitted =
CALCULATE(
    SUM('Master List Pipeline'[Amount]),
    'Master List Pipeline'[Approval Status]
        IN { "Submitted Proposals - unknown", "Submitted Proposals - likely", "Approved"},
        'Master List Pipeline'[FY Group] = "FY18 Donor"
)      

 

And the output is here:

 grantpipeline.JPG

 

 My code above is able to SUM "FY18 Donor" column (under FY 18) only. What I would like to know is how to perform SUM for all the other columns in all FY (FY18 to FY22). (i.e. FY18 Match, FY 18 Total Match-Fully Loaded, FY18 WVC Op Costs, FY19 Donor, FY19 Match,,,,, and so on)

measure.JPG 

I know it is automatically summarized (as seen in the visual above) but I want to put this in measure so I can reuse/call it again in other computation.

 

 

Appreciate your help.

 

Thanks,

 

2 ACCEPTED SOLUTIONS
v-yuta-msft
Community Support
Community Support

@Regil,

 


My code above is able to SUM "FY18 Donor" column (under FY 18) only. What I would like to know is how to perform SUM for all the other columns in all FY (FY18 to FY22). (i.e. FY18 Match, FY 18 Total Match-Fully Loaded, FY18 WVC Op Costs, FY19 Donor, FY19 Match,,,,, and so on) 

Could you clarify more details about the logic of "SUM other columns" and share some sample data about the original table(not the matrix chart)?

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



View solution in original post

@v-yuta-msft

 

Hello,

Thank you so much for looking into this.

This is okay now, there were some things unclear to me at first but this is working now.

Again thank you so much for your time.

 

Regards,

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@Regil,

 


My code above is able to SUM "FY18 Donor" column (under FY 18) only. What I would like to know is how to perform SUM for all the other columns in all FY (FY18 to FY22). (i.e. FY18 Match, FY 18 Total Match-Fully Loaded, FY18 WVC Op Costs, FY19 Donor, FY19 Match,,,,, and so on) 

Could you clarify more details about the logic of "SUM other columns" and share some sample data about the original table(not the matrix chart)?

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



@v-yuta-msft

 

Hello,

Thank you so much for looking into this.

This is okay now, there were some things unclear to me at first but this is working now.

Again thank you so much for your time.

 

Regards,

@Regil,

 

Great to hear that. could you please help mark the correct answer to finish the thread? Your contribution will be much appreciated.

 

Regards,

Jimmy Tao

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.