Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a Table visual on my dashboard:
And i would like to calculate the difference between amount(value from table X) and amount2(value from table Y), and add an extra column to the table visual(use a measure?), it would look like this:
How to do this?
I hope you guys can help me out 🙂
Solved! Go to Solution.
Hi @nicknl ,
To create a measure as below. If it doesn't meet your requirement, kindly share your sample data and excepted result to me. Please upload your files to One Drive and share the link here.
difference = SUM(Table1[amount])-SUM(Table1[amount2])
Please find the pbix as attached.
Regards,
Frank
Hi @nicknl ,
To create a measure as below. If it doesn't meet your requirement, kindly share your sample data and excepted result to me. Please upload your files to One Drive and share the link here.
difference = SUM(Table1[amount])-SUM(Table1[amount2])
Please find the pbix as attached.
Regards,
Frank
Hi @nicknl ,
Does that make sense? If so, kindly mark my answer as the solution to close the case please. Thanks in advance.
Regards,
Frank
OK, well then something is different between your data model and how it has been described, or at least the vision of it that I have in my head. So, Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
That being said, take a look at Page 6, Tables 9 and 10 of attached.
Yes, you would use a measure and add it to your table visual. In theory it might be something like:
Measure = VAR __sum1 = SUM('TableX'[amount]) VAR __sum2 = SUM('TableY'[amount]) RETURN __sum1 - sum2
When I try this measure, it takes ages to load, any idea why?
OK, first question, does it work?
After that, tough to say exactly, how many rows are we talking about?
unfortunately not, when I added the measure, it says: Can't display the visual.
Uhm, we are talking about an excel file with around 30.000 rows, but I narrowed it down, but still taking a long time to load.
But I would like it to work first, before I am fixing the performance issue 😛
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |