Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Here is some background about my problem:
For example:
My problem is that I don't know how to calculate difference between my values. I think that I need to calculate difference after filtering. Is there anyway to do this (Tableua can handle this with paramenters)?
Solved! Go to Solution.
Hi @tondeli,
What is your table structure and could you please share sample data of your table?
If your table is similar as follows, you can duplicate the current table in Query Editor, then filter the first table to contain only Europe data and the second table to contain only Asia data.
After that, create a column using the following DAX in europe table, then create a column chart as shown in the screenshot below.
Difference = RELATED('asia'[Value1])-europe[Value1]
Thanks,
Lydia Zhang
Hi @tondeli,
What is your table structure and could you please share sample data of your table?
If your table is similar as follows, you can duplicate the current table in Query Editor, then filter the first table to contain only Europe data and the second table to contain only Asia data.
After that, create a column using the following DAX in europe table, then create a column chart as shown in the screenshot below.
Difference = RELATED('asia'[Value1])-europe[Value1]
Thanks,
Lydia Zhang
Lydia, this was very helpful suggestion -thank you! I created dublicate fact table and dublicated all dimension tables aswell. I use these like two different solutions inside one data model. Now everything works!
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |