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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Need to sum up the planned value based on condition

Hi Everyone,

I have one scenario,

1.whenever i select month in within quarter then it should display : 15

2.Whenever i select two months in different quarter then it should display : 30

 

Please help me with this scenario.please see the attached image for data and requirement.Planned.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

You can try below measure formal to work with date filter, it will summary records based on year an quarter and auto remove duplicate records:

Meaure =
SUMX (
    SUMMARIZE ( ALLSELECTED ( Table ), [Year], [Quarter], [Planned] ),
    [Planned]
)

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous,

You can try below measure formal to work with date filter, it will summary records based on year an quarter and auto remove duplicate records:

Meaure =
SUMX (
    SUMMARIZE ( ALLSELECTED ( Table ), [Year], [Quarter], [Planned] ),
    [Planned]
)

Regards,

Xiaoxin Sheng

selimovd
Super User
Super User

Hey @Anonymous ,

 

what exactly do you mean with "when you select" and how should your result look like?

Do you select in a slicer? Do you select a row? What do you display?

 

And please show the result how it should look like.

 

Thank you and best regards

Denis

 

Anonymous
Not applicable

Hi,

as i said, year and months are slicers.if you see the image in that there is requirement. so could you please help me out.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors