Forum Discussion
A-IT
5 years agoNew Member
Wrong Count in Month
Good morning. I am attempting to create a Power BI report. All has worked well so far. I've used DAX for some functions (such as cumulative total per month), I've created my own Date table, and the o...
- 5 years ago
Thank you for the reply, I'm still learning. I did not realize that you could only have one active connector. I changed the connector to the Closure Date, and this did fix the issue. How ever, I created another chart that had a cumulative total per month using the following measure:
Cumulative QAIL =CALCULATE(SUM('QAIL AQMS_410-40-018'[QAIL Count]),FILTER(ALLSELECTED('QAIL AQMS_410-40-018'),'QAIL AQMS_410-40-018'[Created] <= MAX('QAIL AQMS_410-40-018'[Created])))
This had an error when Closure Date was used, as it showed a large column with the value of "Blank" besides the months. I fixed the issue by creating another Date Table, and using one as a connector to the Created Date, and one as a connector to the Closure Date. I'm not sure if this is the "best" solution, but it worked for the time being!
Anonymous
5 years agoNot applicable
Great, it worked.
Please appreciate a kudo to my post and accept the post as solution
MEFOX
Helper III
5 years agoI have a very similar problem were the totals change when I drill down from the Quarter to the Months in the Quarter. These are the two fields that I'm using in the visual.
TotalAccounts = if(
ISBLANK(
DISTINCTCOUNTNOBLANK('CRM FactOpportunity'[AccountID]))=TRUE(),
0,
DISTINCTCOUNTNOBLANK('CRM FactOpportunity'[AccountID]
)
)
and
TargetSales = (CALCULATE([TotalBudget],'Shared DimBudget'[OpportunitiyType]="Membership") /12)
Would the way these two measures are coded be the problem?