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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
gomezc73
Helper IV
Helper IV

Paginated report show balance last 3 months and last 4 quarters

Hi,

 

  I need help with this request, I need to create a paginated report to show for each product the balance for the last three months and last 4 quarters in descending mode.

 

  I have my data with the balance by month by Family/product.

 

By example:

   

FamilyDescriptionCodeDescriptionYearMonthAmount
A01Bicycles 10 inchesA01-001Bicycles sport Red202112300
A01Bicycles 10 inchesA01-001Bicycles sport Red202125000
A01Bicycles 10 inchesA01-001Bicycles sport Red202135050
A01Bicycles 10 inchesA01-001Bicycles sport Red202145100
A01Bicycles 10 inchesA01-001Bicycles sport Red202155250
A01Bicycles 10 inchesA01-001Bicycles sport Red202165300
A01Bicycles 10 inchesA01-001Bicycles sport Red202175350
A01Bicycles 10 inchesA01-001Bicycles sport Red202185400
A01Bicycles 10 inchesA01-001Bicycles sport Red202196300
A01Bicycles 10 inchesA01-001Bicycles sport Red2021106350
A01Bicycles 10 inchesA01-001Bicycles sport Red2021116400
A01Bicycles 10 inchesA01-001Bicycles sport Red2021126450
A01Bicycles 10 inchesA01-001Bicycles sport Red202216500
A01Bicycles 10 inchesA01-001Bicycles sport Red202226550
A01Bicycles 10 inchesA01-001Bicycles sport Red202236000
A01Bicycles 10 inchesA01-001Bicycles sport Red202247300
. . .. . .. . .. . .. . .. . .. . .
A01Bicycles 10 inchesA01-001Bicycles sport Red202338900
A01Bicycles 10 inchesA01-002Bicycles sport Black202112300
A01Bicycles 10 inchesA01-002Bicycles sport Black202125000
. . .. . .. . .. . .. . .. . .. . .
A01Bicycles 10 inchesA01-002Bicycles sport Black202326000
A01Bicycles 10 inchesA01-002Bicycles sport Black202337300
A02Bicycles 12 inchesA02-001Bicycles sport Red202113000
A02Bicycles 12 inchesA02-001Bicycles sport Red202123450
. . .. . .. . .. . .. . .. . .. . .
A02Bicycles 12 inchesA02-001Bicycles sport Red202325600
A02Bicycles 12 inchesA02-001Bicycles sport Red202335666
A02Bicycles 12 inchesA02-002Bicycles sport Black202112300
A02Bicycles 12 inchesA02-002Bicycles sport Black202125000
. . .. . .. . .. . .. . .. . .. . .
A02Bicycles 12 inchesA02-002Bicycles sport Black202325466
A02Bicycles 12 inchesA02-002Bicycles sport Black202336000

 

   Then the user must select by parameters the family, year, and month and i need generate a report showing by product the balance for the last three month (in mode descendent) and the information for the last 4 quarters(in mode descendent).

 

By Example: if the user Select:

Family: A01

Year: 2022

Month: 04

 

This must be the output:

    Last 3 MonthsLast 4 Quarters
FamilyDescriptionProductDescriptionBalance April 2022Balance March 2022Balance February 2022Balance November 2021Balance August 2021Balance May 2021Balance February 2021
A01Bicycles 10 inchesA01-001Bicycles sport Red7300600065506400540052505000
A01Bicycles 10 inchesA01-002Bicycles sport Black8000650034507400560053405000
           

 

     Is it possible to create in paginated report?.

 

Thanks in advance  

1 REPLY 1
Jon-Heide
Employee
Employee

Potentially, yes. It's just a bit more involved design of the report. 

 

You could start by creating report parmeters for each of your fields, family, year, etc. Then add a table bound to that dataset +filtered by those parameters. 

 

You can add a row group on Family, with a nested group on Product. Within the product group, you can apply a date filter to the group, such as last 90 days and include a =sum(Fields!<MyField>.Value). 

 

If you want aggregations in the same row at different time periods, that's trickier. You could try just doing two tables side by side. Or, you could add the 4 quarters group first, then a nested group on details and filter that additionally to 3 months. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors