The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Bit of a weird problem that I haven't come across before that I just can;t figure out how to get around. I'm using a data model (not mine) where the Date table has a relationship with the Asset Status table on the EffectiveFromDate (in Asset Status table - see below for example of data). For this measure I'm trying to create, I want to ignore that relathionship becuase I need to include the rows in the Asset Status table where the EffectiveFromDate is not in the filtered date range. HOWEVER, I do need to reference the filtered Date table as part of the expression in my SUMX calculation. Here is the measure before I try to ignore the active relationship...it calculates fine:
Any help would be much appreciated!
Solved! Go to Solution.
Modify the existing relationship to be inactive. Then, when you need it, add USERELATIONSHIP to your CALCULATE modifiers.
Thanks! Yes this worked great - I'd got my head stuck in thinking I had to acheive this through DAX.
Modify the existing relationship to be inactive. Then, when you need it, add USERELATIONSHIP to your CALCULATE modifiers.