Hi everyone,
I am facing an issue with a report that is not showing all the data on my table visual.
I have created a report that shows the expenditures in $$ based on deduction codes, and have created views to show how many people owe more than 4 week, or 3 weeks and less. The issue is that some deductions arent being listed and some users arent on the list at all.
-When I look at the data model, I see all the correct information on there
-The issues are mainly with Past Due Deductions and Past Due R&M columns in the visuals.
- Some deductions are being calculated while others, for the same users, arent.
These are the Dax formulas I used to calculate the totals for Past Due RM and Past Due Deductions:
Other Deductions (No TN/Fuel/RM) =
CALCULATE(
SUM(âLoan Deductionsâ[Amount]),âLoan Deductionsâ[Ded. Code] in
{âOO-2290DEDâ,âOO-2290RTLâ,âOO-AAICâ,âOO-AALEASEâ,âOO-ACCIDENâ,âOO-ACCRUEDâ,âOO-ADMINâ,âOO-ADMSRVâ,âOO-ADVANCEâ,âOO-ATBFEEâ,âOO-AUTOLIAâ,âOO-BACKGRDâ,âOO-BADDEBTâ,âOO-BOBTAILâ,âOO-BONUSâ,âOO-BPLATEâ,âOO-BRANDâ,âOO-C2671â,âOO-CARINSâ,âOO-CARRFEEâ,âOO-CARRLEAâ,âOO-CHECKâ,âOO-CHECK2â,âOO-CHECK3â,âOO-CLINKâ,âOO-CORRECTâ,âOO-D8362â,âOO-DATALOGâ,âOO-DEBTINSâ,âOO-DOCâ,âOO-DRUGâ,âOO-DRVRâ,âOO-ECXINTâ,âOO-EFPINTâ,âOO-EFSADVâ,âOO-EMREIMBâ,âOO-EQUINOXâ,âOO-ESCRINTâ,âOO-ESCROWâ,âOO-EXAMâ,âOO-EXCINTâ,âOO-EXPENSEâ,âOO-FEDNTLâ,âOO-FEETRAIâ,âOO-FFOI1â,âOO-FFOI2â,âOO-FFPOIâ,âOO-FUELTAXâ,âOO-FXBONUSâ,âOO-GARNISHâ,âOO-GPSâ,âOO-HEALTHâ,âOO-HOLDINGâ,âOO-INSBOEâ,âOO-INSGENâ,âOO-INSLIABâ,âOO-LEASEâ,âOO-LEASFEEâ,âOO-LLPROGâ,âOO-LREBATEâ,âOO-MACDEPâ,âOO-MACRFEEâ,âOO-MGTFEEâ,âOO-MISCâ,âOO-MISCCRGâ,âOO-MISCFEEâ,âOO-MISCINTâ,âOO-MISCLOAâ,âOO-MISCTRKâ,âOO-MISREIMâ,âOO-MVFUNDSâ,âOO-NAVIGOâ,âOO-OCCUPâ,âOO-OWNEROPâ,âOO-PANDIRâ,âOO-PANINSâ,âOO-PANLNTLâ,âOO-PANNTLâ,âOO-PANTINSâ,âOO-PAYDOWNâ,âOO-PENALTYâ,âOO-PERMITSâ,âOO-PHYSICAâ,âOO-PLATEâ,âOO-PLINTONâ,âOO-POSTAGEâ,âOO-PREPASSâ,âOO-PRINONâ,âOO-PROADVâ,âOO-QCTEXTâ,âOO-QUALCOMâ,âOO-R&MFEEâ,âOO-RECOVERâ,âOO-REFERRAâ,âOO-REPREIMâ,âOO-SATELLIâ,âOO-SDRTRAIâ,âOO-SECKITâ,âOO-SECMISCâ,âOO-SENSORâ,âOO-SETADFEâ,âOO-SETADVâ,âOO-SETDBBâ,âOO-SETFUELâ,âOO-SETIFEEâ,âOO-SETIFTAâ,âOO-SETMAINâ,âOO-SETNTLâ,âOO-SETOICâ,âOO-SETOMNIâ,âOO-SETPDâ,âOO-SETPFEEâ,âOO-SETPHYDâ,âOO-SETPINCâ,âOO-SETPPASâ,âOO-SETPYMTâ,âOO-SETRENTâ,âOO-SETROADâ,âOO-SETSEMIâ,âOO-SETTFLOâ,âOO-SETTINSâ,âOO-SETTLEâ,âOO-SETTOLLâ,âOO-STFEEâ,âOO-STARTUPâ,âOO-TAXIPASâ,âOO-TOLLâ,âOO-TRAILERâ,âOO-TRAVELâ,âOO-TRIPPAKâ,âOO-TRIPSHEâ,âOO-TRKEXPâ,âOO-TRUECHOâ,âOO-TTRANSPâ,âOO-TTSCARGâ,âOO-TTSNTLâ,âOO-TTSTPDâ,âOO-TVCLEGLâ,âOO-USPSâ,âOO-USTREASâ,âOO-WHTDOVEâ,âOO-WIREâ,âOO-WORKCOMâ,âOO-WRECKâ,âOO-WRITEOFâ,âOO-WRITOFFâ,âOO-XPODBBâ})
Total R&M =
CALCULATE(
SUM(âLoan Deductionsâ[Amount]),âLoan Deductionsâ[Ded. Code] in {âOO-R&Mâ})
This is the formula I use to show the Deductions totals in the visual:
Past Due Deductions =
CALCULATE([Other Deductions (No TN/Fuel/RM)],FILTER(âLoan Deductionsâ,âLoan Deductionsâ[Bill Date]<TODAY()))
An example of an error is that I do not see ID C2008 listed anywhere however they have expenses dated more than 3 weeks back
These are the ID that should be on one of these visuals and Iâm missing most of them.
Are these Dax formulas incorrect and causing this issue? Or maybe its something else that I missed?
Iâve been fighting with this for the past 10 days and I appreciate the help.
Deductions Test.pbix (2.7 MB)