March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
I tried to create a measure of last 6 month weighted average days, the measure is as follows;
Wt avg 2 = CALCULATE(SUMX(RECEIVABLES,RECEIVABLES[Days Diff]*RECEIVABLES[Weights]))
Solved! Go to Solution.
Hi @Avivek ,
The calculated logic of total value of [Last 6 months Wt Avg4] measure works like what I explained in this post. Please refer.
You can try the measure as follows. Make sure replace Table with the actual name of the table.
New measure = SUMX(Table,[Last 6 months Wt Avg4])
This may give the same values in the rows, but the correct sum in total.
Best regards
Icey
If this post helps,then consider Accepting it as the solution to help other members find it more quickly.
Hi @Avivek ,
The calculated logic of total value of [Last 6 months Wt Avg4] measure works like what I explained in this post. Please refer.
You can try the measure as follows. Make sure replace Table with the actual name of the table.
New measure = SUMX(Table,[Last 6 months Wt Avg4])
This may give the same values in the rows, but the correct sum in total.
Best regards
Icey
If this post helps,then consider Accepting it as the solution to help other members find it more quickly.
Hi @Avivek -
Power BI tables/matrixes don't "sum" the way Excel does - they evaluate the measure in the context of the "total" for that visual, which often gives unexpected results, especially when dates are otherwise involved in the table.
What do you expect to see where you have circled the value?
David
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
120 | |
77 | |
59 | |
53 | |
40 |
User | Count |
---|---|
193 | |
106 | |
88 | |
62 | |
51 |