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
RMV
Helper V
Helper V

Calculate accumulated value and grouping

Hi,

 

If I have 2 datasets

Dataset 1 is a grouped dataset based on Region, As of date, Type, Customer, as follow

Region        As of date       Type       Customer      Accum. Sales Amount

A                  7-Jan-17            New        001                 1000

A                  7-Jan-17            New        002                 1500

A                  7-Jan-17            New        003                 700

B                  7-Jan-17            Old          004                 300

B                  7-Jan-17            Old          005                 400

etc

 

Dataset 2 consists of delivery data in a raw data (transactional data) format

 

Question:

How to calculate the accummulated amount of delivery with the same period with As of date value in the 1st dataset, and also to group the data same as the 1st dataset? Since this two data needs to be combined and calculated.

 

Thank you

 

 

 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @RMV,

since both table have a date the easiast way is to create a calendar table and make a relationship between this and the.other two tables and use the calendar table for your filters and axis in your visuals.

Regarda,
MFelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @RMV,

since both table have a date the easiast way is to create a calendar table and make a relationship between this and the.other two tables and use the calendar table for your filters and axis in your visuals.

Regarda,
MFelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi @MFelix, i was confuse at first. but after i tried, i got what you meant.

Thanks a lot!

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.