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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Incorrect Measure Total

Hi, I have problem in measure total . Power Bi summarizes the data which is not in one month. The amount does not change by month. What could be the problem? 5 days can not solve this problem. 

Сумма до установки , АЗН = IF(ad_sales_info[Сумма мера] <>BLANK();ad_sales_info[ВычСумма до установки])
ВычСумма до установки = CALCULATE(SUMX(ad_sales_info;ad_sales_info[Сумма]);DATESBETWEEN(ad_sales_info[Дата].[Date];MAX(ad_sales_info[Первый месяц]);MAX(ad_sales_info[EndMonth]));ALLEXCEPT(ad_sales_info;ad_sales_info[Товар Наименование]))
Сумма мера = CALCULATE(SUM(ad_sales_info[Сумма]);FILTER(ad_sales_info;ad_sales_info[Столбец]<1);FILTER(ad_sales_info;ad_sales_info[Дата].[Date]>STARTOFMONTH((ad_sales_info[EndMonth].[Date]))))

Снимок.PNG

Thank you all for your attention.

4 REPLIES 4
AlB
Community Champion
Community Champion

Hi @Anonymous

 

Can you explain a bit more what the problem is? It's not clear enough. Maybe through an example based on your sample data indicating what result you get now and what the correct result would be and why.

Showing a sample of your data model would also help or, if possible, the pbix

Anonymous
Not applicable

Сумма до установки , АЗН - is constant . The problem is in these values. The problem is that for example, if I choose the sale of storefronts in a few months and I choose the sale, then the sum of all the months appears. But it should display the amount by months. Now on the screen the amount before installation, AZN - shows the value of December in all months. In connection, I do not think that there is a problem.

@Anonymous,

 

You may check if it is caused by date hierarchy.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I think the problem is created because of time, but I don’t know how else to do it. This value should be for all months of the same. But it should show only from the month of installation. And now in all months shows

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.