Forum Discussion
Help with Dax-measure
HI PZUDGW
Is the reden van onnullering column in the same table?
Klopt (tabel factMRCUSTDEBTSETTLEMENT). Daarom vind ik het ook zo vreemd dat dan de weergave verstoord wordt. Wanneer ik de regel voor het verwijderen van de lege regels verwijder, worden de aantallen wel netjes per maand getoond. Daarom heb ik het vermoeden dat het in de regel voor de blanks zit..
- tamerj14 years ago
Community Champion
PZUDGW
I understand that the fact table has two relationships with the Date table. One is active and the other is inactive. And you are using USERELATIONSHIP to activate the inactive one.
It happened with me once and I could not find the answer but you may also deactivate the active relationship using CROSFILTER and set the active relationship to "None". It worth nothing to try.- PZUDGW4 years ago
Helper I
That's right. All the columns are in the same table. When I try to filter all blank Cancelationreasons, the PBI-table is not showing the data right (all reasons showing the same numbers). When I remove the command to filter the blanks, the PBI-table suddenly shows the right data (but including all blanks).
Using CROSSFILTER didn't do the trick..
Any other suggestions?
Greez Api
- tamerj14 years ago
Community Champion
PZUDGW
Try thisAantal geannuleerde ontruimingen = -- aantal geannuleerde ontruimingen in de geselecteerde periode -- -- zijn wel gepland, maar er is een reden voor annulering opgegeven -- VAR vJaar = SELECTEDVALUE ( _Calender[Year] ) RETURN CALCULATE ( DISTINCTCOUNT ( factMRCUSTDEBTSETTLEMENT[DEBTSETTLEMENTID] ), ALLNOBLANKROW ( factMRCUSTDEBTSETTLEMENT[SGCUCDEBTSETTVERDCANCELREASON] ), YEAR ( factMRCUSTDEBTSETTLEMENT[DATEEVACUATIONPLANNED] ) = vJaar, USERELATIONSHIP ( _Calender[Date], factMRCUSTDEBTSETTLEMENT[DATEEVACUATIONPLANNED] ) )