This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi All.
Ok, so this is the strangest one, which I came across so far.
First, let me describe the part, which is understable.
I have a simple model, which contains one fact table and one dimension table with Account.
Then I've created a measure, which calculates sum of column value for account ZwykleKonto1.
Now let's start with the mistic part. When I sort column Account by column Sorter, Measure starts to reflect 0 for Accounts with different Sorter value then 50 (which is value for ZwykleKonto1). I completly do not understand this behavious. Can I ask for explanation please?
Many Thanks, Kamil.
Solved! Go to Solution.
After some research I found an article describing this behaviour.
After some research I found an article describing this behaviour.
@Anonymous , Try like
Measure = CALCULATE(sum(factFact[Value]),filter( dimAccount, dimAccount[Account] = "ZwykleKonto1"))
refer
http://dataap.org/blog/2019/04/22/difference-between-calculate-with-and-without-filter-expression/
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 23 | |
| 20 | |
| 20 | |
| 20 | |
| 20 |