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
Dan_W
Frequent Visitor

running totals vs incremental

Hi -

I've just started looking at PowerBI and I'm wondering if an experienced user could offer some advice;

 

I want to look at time series data.

 

For a series of timestamps what form of data would you like to see in the other columns?

  • an incremental quanty

vs

  • A running total.

Given the choice: - which data set would you rather work with in PowerBi?

 

To me it seems like PowerBi wants to naturally sum everything so I think I would be better off with the incremental quantities, but I have no idea - maybe it doesn't make a difference?

 

Thanks in advance for any advice,

Dan

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Best advice i can give you is that you just store the data raw and then create measures to calculate whichever way you need.

 

 

For example, you might simply store your invoices, with their amounts and dates.  You can then create sets of measures with different time intelligence to consider different scopes.

 

Power BI is context driven.  So if you create a measure to perform a sum, you can reuse that measure in many different contexts to constrain what the limitations of the is.  This is what is meant be "context"

 

To put it another way:  You can choose to sum invoices, or maybe you want to know what the largest value invoice is.  This is how you wish to aggregate your data, which some charts and graphs let you do seemlessly.  You can also write measures so you can call this aggregation in later measures and functions.

 

Next you might say "Yeah sure thats a sum of invoices, but over what period of time do you mean?"  The time period is the context.  So if you take a graph, make the date the axis, then the plot points each have a specific context which Power BI runs your measure on.  So if your graph axis was monthly, you would get a data point that sums up invoices for that specific month.

So you set your lowest level measures on what calculation you are trying to perform, and your graphs, charts, matrixes and later measures set the context.  As you learn more and more you'll see how you can build outwards to some super cool and tricky stuff.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Best advice i can give you is that you just store the data raw and then create measures to calculate whichever way you need.

 

 

For example, you might simply store your invoices, with their amounts and dates.  You can then create sets of measures with different time intelligence to consider different scopes.

 

Power BI is context driven.  So if you create a measure to perform a sum, you can reuse that measure in many different contexts to constrain what the limitations of the is.  This is what is meant be "context"

 

To put it another way:  You can choose to sum invoices, or maybe you want to know what the largest value invoice is.  This is how you wish to aggregate your data, which some charts and graphs let you do seemlessly.  You can also write measures so you can call this aggregation in later measures and functions.

 

Next you might say "Yeah sure thats a sum of invoices, but over what period of time do you mean?"  The time period is the context.  So if you take a graph, make the date the axis, then the plot points each have a specific context which Power BI runs your measure on.  So if your graph axis was monthly, you would get a data point that sums up invoices for that specific month.

So you set your lowest level measures on what calculation you are trying to perform, and your graphs, charts, matrixes and later measures set the context.  As you learn more and more you'll see how you can build outwards to some super cool and tricky stuff.

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.