Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all... I have rows duplicating in my matrix visual issue . I think its because of the relationship but i am unable to figure out how to fix this.below is my relation ship
V_Schedule_GLHazard-Dimension (Uniqpolicy) table connected to V_DimPolicy(PolicyID) Fact table with many-many relationship
V_Schedule_Property_Subject-Dimension (Uniqpolicy) table connected to V_DimPolicy(PolicyID) Fact table with many-many relationship.
But when i bring fields from these two tables into a table then the lines are duplicating as shown.
green is fields coming from V_Schedule_GLHazard and yellow is fields coming from V_Schedule_Property_Subject.
Reagrds,
Jostna
Hi @jostnachs ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @jostnachs ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @jostnachs ,
Thank you for reaching out to Microsoft fabric community forum.
I wanted to check if you had the opportunity to review the information provided by @kushanNa . Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @jostnachs
I'm not sure what your expected output is here. As you correctly mentioned, this is happening due to the many-to-many relationship. For 2 values in the GLHazard table, there are 4 matches.
I’m just guessing you might be expecting an output like this. If that’s the case, please try using the following DAX measures.
HazardList =
CONCATENATEX(
FILTER(
V_Schedule_GLHazard,
V_Schedule_GLHazard[UniqPolicy] = SELECTEDVALUE(V_DimPolicy[PolicyID])
),
V_Schedule_GLHazard[GL Class Code Desc],
", "
)
PropertyList =
CONCATENATEX(
FILTER(
V_Schedule_Property_Subject,
V_Schedule_Property_Subject[UniqPolicy] = SELECTEDVALUE(V_DimPolicy[PolicyID])
),
V_Schedule_Property_Subject[SubjectOfInsuranceDesc],
", "
)
User | Count |
---|---|
85 | |
80 | |
77 | |
49 | |
41 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |