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 I'm sure this will be quite simple for many of you, but now I'm been trying out for hours.
How can you in dax create the measure NumberOftimesUsedInFact?
The reasoning is the following: DimColA=A from dimensionA belongs to both key 1 and 2. Key 1 and 2 are used 4 times in the fact hense the NumberOfTimesUsedInFact=4.
I would really like if a row from the dimension is not used in fact then the measure solves to 0 and not just doen'nt show.
Thanks in advance
@Anonymous , if dimension and fact are joined
countrows(Table) +0 with dimension should give all the rows with 0 for in used
if(isblank(countrows(Table) ),1,blank()) will give you only unused with a member of dimension
thanks for you help, and hope you have 5 more minutes 🙂 and this will be my last question...
I would like to show which rows from dim A thats not used ... I have tried with summarize but no luck yet
I hope it makes sense
User | Count |
---|---|
22 | |
14 | |
11 | |
7 | |
5 |
User | Count |
---|---|
24 | |
22 | |
20 | |
15 | |
10 |