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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Hussain
Helper I
Helper I

Save measure result in a table everyday using DAX

Hi Power Bi Community,

 

I have a few measures which record an approximate size of the different tables. I want to record/save these values in a table so that I can observe what's the size of each table everyday.

How can I copy and save these values?

I am doing this to monitor memory usage and then I have to use this data to forecast the memory requirement.

 

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

If you have a date or index column on the tables, you could calculate a running rowcount to show size historically.  If not, you can't store stuff like that between refreshes in Power BI.  One way would be to make a paginated report with a visual that has the row counts in the dataset, subscribe to it as csv file, and send it to Flow to save the daily files to SharePoint/OneDrive.  Lots of overhead, but it could work.

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @Hussain 

PBI doesn't have persistent storage like this.  Your measures will change day to day as the tables change, you won't be able to add rows to a table for example, inside PBI.

You could manually copy the table and save it to Excel or export the data from the visual.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


mahoneypat
Microsoft Employee
Microsoft Employee

If you have a date or index column on the tables, you could calculate a running rowcount to show size historically.  If not, you can't store stuff like that between refreshes in Power BI.  One way would be to make a paginated report with a visual that has the row counts in the dataset, subscribe to it as csv file, and send it to Flow to save the daily files to SharePoint/OneDrive.  Lots of overhead, but it could work.

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.