Forum Discussion
Anonymous
7 years agoNot applicable
Make Clustered Chart with Two Slicer
Hi, I am trying to make a clustered bar chart in Power BI. The situation is described as below : I have a column "Value" which stores numeric value and I created another duplicate of this colum...
- 7 years ago
Hi Anonymous ,
Please check the following steps as below.
1. Create calculated tables as below.
D S = VALUES(Table1[Slicer Duplicate])
S A = VALUES(Table1[Slicer A])
2. Create relatioship between tables.
3. After that, we can create two measures to achieve our goal.
Measure = CALCULATE(SUM(Table1[value]),USERELATIONSHIP('S A'[Slicer A],Table1[Slicer A]))Measure 2 = CALCULATE(SUM(Table1[value]),USERELATIONSHIP('D S'[Slicer Duplicate],Table1[Slicer Duplicate]))
v-frfei-msft
Community Support
7 years agoHi Anonymous ,
Please check the following steps as below.
1. Create calculated tables as below.
D S = VALUES(Table1[Slicer Duplicate])
S A = VALUES(Table1[Slicer A])
2. Create relatioship between tables.
3. After that, we can create two measures to achieve our goal.
Measure = CALCULATE(SUM(Table1[value]),USERELATIONSHIP('S A'[Slicer A],Table1[Slicer A]))
Measure 2 = CALCULATE(SUM(Table1[value]),USERELATIONSHIP('D S'[Slicer Duplicate],Table1[Slicer Duplicate]))
Ragasri
3 years agoNew Member
Hi,
I tried the same solution but i'm facing circular dependency error while making a relationship with the tables created. I'm new to powerbi and need help