Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I want to add an additional column to a student table (EOY Target). It is currently stored in another table, with lots of other data and fields.
I've written the following dax for the column. The relationship between the table is 1:M Pupil:Attainment. I know the below will effectively return a whole row of data based on the filter.
How do I then amend the below to just pull the column (Result) which has the actual data I want?
Solved! Go to Solution.
Is there a particular reason you need to add the column to the table? If there is a relationship, you can build visuals with fields from both tables directly
Proud to be a Super User!
Paul on Linkedin.
Yes, I'm trying to create a matrix table, with the target as colum and then values held in another table as the rows.
The pupil table is the one side of both relationships.
Whilst writing the above, I thought about making one of the relationships multi directional and this has resolved my issue.
Thanks for making me think. 🙂
You shouldn't need to make the relationship multi directional. Just use the fields from the dimension table to establish the filter context and add fileds from the many table & measures for value fields
Proud to be a Super User!
Paul on Linkedin.
Is there a particular reason you need to add the column to the table? If there is a relationship, you can build visuals with fields from both tables directly
Proud to be a Super User!
Paul on Linkedin.
User | Count |
---|---|
50 | |
23 | |
18 | |
18 | |
14 |
User | Count |
---|---|
91 | |
84 | |
43 | |
26 | |
21 |