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 nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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 |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 24 | |
| 21 | |
| 20 |