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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.