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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ashmitp869
Post Partisan
Post Partisan

Paginated Report grouping in tablix not working with a single dataset ?

Hi All,

 

I am getting multiple lines with Qty and Price in Tablix view in Paginated Report.

The dataset is having three lines.

How can I group them together in one line.

 

ashmitp869_0-1726464812832.png

 

PTD Claim =Sum(IIf( Parameters!DateYear.Value(0) <= Fields!Year.Value,
Fields!TotalCost.Value * 1.15,
Nothing))

 

PTD Qty =Sum(IIf( Parameters!DateYear.Value(0) <= Fields!Year.Value,
Fields!TotalCost.Value * 1.15/Fields!TotalPrice.Value,
Nothing))

 

 

 

Sample rdl file is provided.https://github.com/suvechha/samplepbi/blob/main/sample.rdl

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ashmitp869 

 

To group multiple lines with Quantity and Price into one line in your Tablix view, you can use the grouping feature in SSRS:

 

Open your report in Report Builder or SQL Server Data Tools (SSDT).

 

Select the Tablix where you want to apply the grouping.

 

Right-click on the row group in the Row Groups pane and select Add Group > Parent Group.

 

Choose the field you want to group by.

 

In the group header or footer, use aggregate functions like SUM to combine the quantities and prices.

 

This will sum up the quantities and prices for each group, displaying them in a single line.

 

Regards,

Nono Chen

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

1 REPLY 1
Anonymous
Not applicable

Hi @ashmitp869 

 

To group multiple lines with Quantity and Price into one line in your Tablix view, you can use the grouping feature in SSRS:

 

Open your report in Report Builder or SQL Server Data Tools (SSDT).

 

Select the Tablix where you want to apply the grouping.

 

Right-click on the row group in the Row Groups pane and select Add Group > Parent Group.

 

Choose the field you want to group by.

 

In the group header or footer, use aggregate functions like SUM to combine the quantities and prices.

 

This will sum up the quantities and prices for each group, displaying them in a single line.

 

Regards,

Nono Chen

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors