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.
Hi people,
Im new in power bi and have a couple of questions with my data model, its very simple,
I have the following measure to retrieve only Argentina Sales as you can see on "Visual A", I dont have a DimTable for countries.
My question is, is there a way to show only the data of the country (or element in any other situation) that im filtering with CALCULATE as in "Visual C" or "Visual D"?
Thank you
Solved! Go to Solution.
For Visual C just make a measure saying if(selectedvalue(country)="Argentina",sum(sales),blank and in tick the dropdown just select(show items with 0 data) and for visual D just untick this checkbox.
For Visual C just make a measure saying if(selectedvalue(country)="Argentina",sum(sales),blank and in tick the dropdown just select(show items with 0 data) and for visual D just untick this checkbox.
Hi, @Anonymous , you might want to try
= CALCULATE ( [Total Sales], KEEPFILTERS ( FactTable[Country] = "Argentina" ) )
Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
User | Count |
---|---|
114 | |
73 | |
57 | |
47 | |
38 |
User | Count |
---|---|
170 | |
121 | |
59 | |
58 | |
55 |