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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.