Forum Discussion
Two slicers for one column
Hi..
Could you please elaborate on "then build two measures using SWITCH in the main table, then use those measures in the visual"
I am also facing the same need for comparing our and competitor products.
Thanks
This is what I do to allow the users to switch the report visuals between currencies.
1. I created a table (Home / Enter Data) with two values: EUR and USD. You can use as many as you want. Called it 'Currency'. No need to create any relationship with this table.
2. In the table where you have your amounts, create this measure:
Total =
- Tnt5 years agoFrequent Visitor
Hi Alice,
Thank you for the response.
Plese find the problem details for which I am unable to realize the solution.
I have two or our product - AA and BB, which need to be compared individually with Competitor products XX, YY, and ZZ (see table below of possible comparisons)
My Product Benchmark Product AA XX AA YY BB YY BB ZZ I created two Dimension table, one for my product and one for competitor products. The selection on our product (slicer) will refine the options in competitor products (second slicer).
For eg: if i select AA in prodcut the options in second slicer will be XX and YY but not ZZ (as its not benchmarked against).
Now I need to select either XX or YY of our competitor product.
The selection then needs to identify related data from a fact table as shown below.
Product Test result XX 8 YY 9 ZZ 7 AA 7 BB 8 For selection AA in first slicer and XX in second slicer, visualizer (Table/column) should give values for the selection. (like the table below)
Product Test result AA 7 XX 8 Could you help me with this.
Thanks for your support.
Regards
Tnt
- AliceW5 years ago
Power Participant
Tnt, how does your data mode look like? Do you have two tables, one for your company's products and another for your competitors'? How do you connect the products?
- Tnt5 years agoFrequent Visitor
Hi Alice,
I have not found a good solution yet.
I have 2 Dimension tables,
1. company's product (along with competitor prodcut; 2 column as shown in first table earlier)
2. competitor product (only one column - competitor product).
To have two interactive slicers, first slicer (1) is on my product (Table 1) and it is related to table 2 by bidierctional many to one relation. The second slicer (2) is on Table 2, which is filtered by slicer.
The two tables (1 and 2) are expected to be fact table.
Thanks and regads.
Tinto