Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Team,
i have 2 different IDs and 2 different timestamp & trying to show the monthly wise IDs count in same chart.
See below sample data
ID1 | TimeSTamp1 | ID2 | TimeSTamp2 |
1 | 1/4/2018 | 10 | 1/20/2018 |
2 | 1/4/2018 | 11 | 2/20/2018 |
3 | 2/8/2018 | 12 | 3/20/2018 |
3 | 2/8/2018 | 13 | 3/20/2018 |
4 | 2/8/2018 | 14 | 3/20/2018 |
chart i am looking
Solved! Go to Solution.
You may create the relationships as below and use USERELATIONSHIP Function.Here is the article for your reference.
Count_ID1 = DISTINCTCOUNT(Table1[ID1])
Count_ID2 = CALCULATE(DISTINCTCOUNT(Table1[ID2]),USERELATIONSHIP('Calendar'[Date],Table1[TimeSTamp2]))
Regards,
Cherie
this s the chart i am looking for.. please share your inputs
You may create the relationships as below and use USERELATIONSHIP Function.Here is the article for your reference.
Count_ID1 = DISTINCTCOUNT(Table1[ID1])
Count_ID2 = CALCULATE(DISTINCTCOUNT(Table1[ID2]),USERELATIONSHIP('Calendar'[Date],Table1[TimeSTamp2]))
Regards,
Cherie
Hi @v-cherch-msft,
It's working fine. Filter option & Userrelationship works fine separately. but when i put these 2 together then i am getting below error message
"There's not enough memory to complete this operation".. see below dax to get rolling 12 months sum
It seems you may try to optimize your data model. Please refer to this post.If it is not your case,I would suggest you create a new thread on forum so that more community members can see it and provide advice. Please remember to post dummy data and desired result.
Regards,
Cherie
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |