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
Hesselvdk
Regular Visitor

How to calculate storage (MB)?

Hi all,

 

I have a dataset with the memory, the total size of each server we host. We measure every day the servers, so we have every day a new record. When I put the data in a line chart you will get weird numbers for every month, quarter and year. You want to sum the daily the memory and the total size and take the average for each month, quarter and year. Is there a solution for this problem?

2 REPLIES 2
Hesselvdk
Regular Visitor

Hi all,

I have a dataset with the memory, the total size of each server we host. We measure every day the servers, so we have every day a new record. When I put the data in a line chart you will get weird numbers for every month, quarter and year. You want to sum the daily the memory and the total size and take the average for month, quarter and year. Is there a solution for this problem?

 

Hi @Hesselvdk,

 

Why not make two measures.  Use a measure that uses the SUM function on any linechart where Daily is your axis.

 

But then use a measure based on the AVERAGE function for any linechart where you use Month/Quarter or Year on the axis.

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

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.