Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I have a calculared measure - say "Revenue".
I have a dimension called Accounts, which contains Unique AccountID.
The "Revenue" measure relates to the Accounts - Revenue for an account / Quarter/ Region.
I want to create a new Column using DAX , which returns DISTINCT Count of all Accounts where "Revenue" > 500000
Bear in mind that , this "Revenue" , is a calculated Measure.
Thank You,
Solved! Go to Solution.
Thank you for your replies.
I think I found the solution in a different POWERBI thread -
CALCULATE(DISTINCTCOUNT(Sales[Sales_ID]),FILTER(VALUES(Sales[Sales_ID]),[YTDSales]>3000))
@sqldev2017 Please post the sample data in copiable format, which will be helpful to suggest any accurate solution.
Proud to be a PBI Community Champion
Hi @sqldev2017
are you able to post a sample of your data?
thx
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Thank you for your replies.
I think I found the solution in a different POWERBI thread -
CALCULATE(DISTINCTCOUNT(Sales[Sales_ID]),FILTER(VALUES(Sales[Sales_ID]),[YTDSales]>3000))
User | Count |
---|---|
126 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
116 | |
102 | |
71 | |
61 |