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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Rifilho19
Frequent Visitor

How to acumulate values of measures.

Greetings

I'm trying to make a measure to roll up data, but my values ​​don't roll up when I use the measure instead of a column,

How to solve this problem?

Thank you very much in advance!

Rifilho19_0-1625077309120.png

Rifilho19_1-1625077389670.png

Rifilho19_2-1625077457338.png

 

 

 

5 REPLIES 5
amitchandak
Super User
Super User

@Rifilho19 , is Period_omes is coming from Spoint_priods? If not take Period_omes  from Spoint_priods or put the filter on the table having Period_omes 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thank you for te reply, @amitchandak 

Yes, I´m using the periods from sharepoint.
but the measurement doesn't work as expected
I think it's because I want to accumulate data from a measure and not a column.
is my understanding correct?

If i´m correct, how do you sugest to solve this probleam?


Thank you, so much

Hi @Rifilho19 ,

 

The accumlated measure will work for measure also. Did you have a dim_date table in your data model? If not , please create one by:

 

DIM_Date = ADDCOLUMNS(CALENDAR(MIN(YourFactTable[Date]),MAX(YourFactTable[Date])),"MONTHYEAR",FORMAT([Date],"mmm-yy"))

 

Connect it with your fact table by [MONTHYEAR].

 

Then you can use the following measure(using the MONTHYEAR column from the DIM_Date table as rows in your matrix visual 😞

 

Acumulated measure = CALCULATE([Your measure],FILTER(ALL(DIM_Date),DIM_Date[Date]<=MAX(DIM_Date[Date])))

 

If it doesn't work, please show us your sample pbix instead of screenshot.

 

Thank you for your support and understanding.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Hi @v-deddai1-msft !,

Thank you for your support.

I´ve a date table in my PBI, it name is "Periodos".

Unfortunately I don´t have permission to share my pbix... 😕

 I don´t know what I do now.. 
If  somebody knows my probleam, please contact me.
Thank you very much!!

Hi @Rifilho19 ,

 

There are many causes can lead to the issue. Some filter context outside. Without your sample pbix , it is difficult for us to support you. Maybe you can create some fake data that can reproduce the issue. Then you we can help you accurately.

 

Best Regards,

Dedmon Dai

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.