March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
Pardon my ignorance, but I am in need of some direction/assiatnce. I have a table that I need to calculate the difference of the daily_%_total by column "dialer" (has 2 values, N and U) and column "dt".
Is this possible within Power BI? I have tried filtering, grouping as well as allexcept without any success.
Source table:
Desired Result:
Any assitance is greatly appreciated.
Solved! Go to Solution.
Hi @MRadaci,
You can try to use below formula to show diff on total level.
Diff = IF ( ISFILTERED ( Sheet1[system] ), SUM ( Sheet1[daily_%_total] ), CALCULATE ( SUM ( Sheet1[daily_%_total] ), Sheet1[system] = "N" ) - CALCULATE ( SUM ( Sheet1[daily_%_total] ), Sheet1[system] = "U" ) )
Regards,
Xiaoxin Sheng
HI @MRadaci,
It will be help if you share sample data/pbix file for test.
In addition, if you mean create dynamic column/table from slicer/filter, current power bi not support this, please use measure to instead.
Calculated Column/Table Change Dynamically According to Slicer Selection in the Report.
Regards,
Xiaoxin Sheng
Hi Xiaoxin!
Thanks for your response. I have attached a sample dataset (xls).
The goal is for a sliced date, compare difference in systems (N vs. U) for each category's %.
Thanks for any assitance you can provide.
https://github.com/AFC1886/SampleData/blob/master/Example%20Data.xlsx
Hi @MRadaci,
You can try to use below formula to show diff on total level.
Diff = IF ( ISFILTERED ( Sheet1[system] ), SUM ( Sheet1[daily_%_total] ), CALCULATE ( SUM ( Sheet1[daily_%_total] ), Sheet1[system] = "N" ) - CALCULATE ( SUM ( Sheet1[daily_%_total] ), Sheet1[system] = "U" ) )
Regards,
Xiaoxin Sheng
Hi @v-shex-msft,
I just wanted to say thanks for your assitnace. It was very helpful. What a great community!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |