The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
63 | |
56 | |
54 | |
51 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
43 |