Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I have tables fact,dim1,dim2 and dim1 and dim2 have relationship with fact.
My measure is Loc_Count=Calculate(Distinctcount('dim1'[col1])),filter('dim2','dim2'[Date]>Selectedvalue('Date'[st_DT])))
Date[ST_dt] is a slicer.and Date and Dim2 have relationship on Date[ST_DT] nad 'dim2'[Date].
So when i select particular date it filters the table2 but it is not filtering table1.
Col1 has 1,2,3 distinct value so it is giving 3 output.
But in table if u drag Col1 and dim2[Date] it is showing zero records as my Fact is empty.
So i need output blank or 0 when user selects the date.cause i dont have data in fact.
I don't know why it is not filtering table1 as well cause dim1 and dim2 have relationship.
@Anonymous you have provided lot of info but still missing important info on your post.
Can you share relationship diagram and what you want your output to be?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
So i need dax which count distinct proivder ids when effective and termination date is in range of selected date values by user
User | Count |
---|---|
94 | |
79 | |
74 | |
63 | |
60 |
User | Count |
---|---|
110 | |
101 | |
84 | |
64 | |
62 |