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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
marcus505
Frequent Visitor

subquery

Hi All ...

I have a table with threee drop down fields [Type A,B,C,D] and want to sum by values selected over a period of time - see format shown below. All the three fields are in one table.

I guess i need a subquery or multiple select statement to return each value and then use a Matrix table ? Whats the best approach ?matrix.png

 

Many Thanks,

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @marcus505,

 

Really sorry for the delay.

 

Is the image you shared your data sample?

 

I'm still a little confused about your requirement.


 

I have a table with threee drop down fields [Type A,B,C,D] and want to sum by values selected over a period of time - see format shown below. All the three fields are in one table.

 

It seems that you want to sum by values with selceted over a period of time.

 

Do you want to calculated the values for each type when select the week x in slicer?

 

I would appreciate it if you could share your expected output so that we could help further on it.

 

Best  Regards

Cherry

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

Hi Cherry,

 

Thank you for your response.

 

A record has four fields [Type A,B,C,D] with different values to select.

 

I want to sum by values selected for each record on a weekly basis. Sorry for the confusion

 

Only one value can be selected per [Type] 

 

Many Thanks

marcus505
Frequent Visitor

any ideas - is this possible ?

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.