Forum Discussion
Relationship based on the multiple date columns
- Anonymous7 years ago
Here is the solution :
Duplicated the table and made the relationship with date dim table.
And in the dax function used below formula.
IF (
SELECTEDVALUE ( customer_type[cust-id] ) = 11
&& SELECTEDVALUE ( customer_type[cust-id]) = 10,
[Enrolledvalue],
[activevalues]
)
Enrolled values and active values are another dax function where I am calculating the KPI values.
Here am sending the data model and data per table ,Kindly find the attached file . Its really apprieciate for your positive respones and your help. Data Model Power BI Sample DataData ModelSample DataPower BI report
Any inputs please
- Anonymous7 years agoNot applicable
Any one please suggest on this request .
- Anonymous7 years agoNot applicable
Here is the solution :
Duplicated the table and made the relationship with date dim table.
And in the dax function used below formula.
IF (
SELECTEDVALUE ( customer_type[cust-id] ) = 11
&& SELECTEDVALUE ( customer_type[cust-id]) = 10,
[Enrolledvalue],
[activevalues]
)
Enrolled values and active values are another dax function where I am calculating the KPI values.