Power bi running total controlled by slicer

dicken

Active Member
Joined
Feb 12, 2022
Messages
280
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have a Matrix in PBi, dates , sales, and a slicer, 'item', if I use a date table, I get wrong results once the slicer is applied, even if I use
the dates from the fact table if a date /calendar table is linked I get wrong results, but if I disconnect the tables, and create a running total based on the dates in the fact table I can then use the slicer and get the correct results. The screen shots below show the results with the connected and disconnected Calendar / date table. Can someone suggest a solution or why the problem occurs. I do think it's something I'm doing/not doing right.

1662645445995.png
1662645515055.png


I have asked this question on Excel Forum.

SQL:
https://www.excelforum.com/office-365/1388182-power-bi-runing-total-controlled-by-slicer.html#post5723984

Richard.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I have found the problem, the calendar fact table relationship was defaulting to one to one, bi directional, as soon as I changed this to a one to many ( it was actually one to one) in one direction, date to fact , everything started working. #
Richard.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,971
Messages
6,122,520
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top