Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I have a table contains the following columns in addition to many
The ActivityDate is used in a slicer
I need to calculate the disticntcount of Account names that have more than 1 activity subject to the selected period in ActivityDate slicer
Account Name | ActivityDate |
Account A | 1/1/2020 |
Account A | 1/7/2020 |
Account A | 1/8/2020 |
Account A | 1/1/2021 |
Account B | 1/1/2019 |
Account B | 1/1/2020 |
Account B | 1/7/2020 |
Account C | 1/1/2018 |
Account C | 1/1/2020 |
Account C | 1/7/2020 |
Account C | 1/9/2020 |
Account C | 1/10/2020 |
Account D | 1/1/2020 |
Mainly I tried the following
SUMMARIZE(
Activities,
Activities[Account Name],
"ActivitiesCount",COUNTA(KinzActivities[Account Name]
)
but I didn't know how to filter the resulted table according to the calculated column "ActivitiesCount"
Solved! Go to Solution.
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! |
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! |
Actually I dont see how it will work!
I need to calculate the accounts that have more than 1 activity within the a selectedperiod
If I selected 2020 year, it should return 3 not 4
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
89 | |
88 | |
82 | |
64 | |
49 |
User | Count |
---|---|
125 | |
111 | |
88 | |
69 | |
66 |