Forum Discussion
Selecting rows with slicer doesn't work
- 2 years ago
Hi,
I have solved a similar problem in the attached PBI file.
Hope this helps.
- Anonymous2 years ago
Hi,
Thanks for the solution Ashish_Mathur and elitesmitpatel and foodd provided, and i want to offer some more infotmation for user to refer to.
hi a_nijsten , you can create a measure
MEASURE = VAR a = MAX ( Datetable[Date] ) VAR b = EOMONTH ( a, -1 ) + 1 RETURN CALCULATE ( COUNTROWS ( Testdata ), Testdata[Startdate] <= a, OR ( Testdata[Enddate] >= b, Testdata[Enddate] = BLANK () ), CROSSFILTER ( Datetable[Date], Testdata[Startdate], NONE ) )Outptut
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
remember to adhere to the decorum of the Community Forum when asking a question.
Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523/highlight/true#M607150
This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.
- a_nijsten2 years agoRegular Visitor
Thanks. I didn't know how I could enclose the sample files. I have edit my question and enclosed a link with the sample files.
- elitesmitpatel2 years ago
Solution Supplier
Hey a_nijsten the link is expired , please update the link and if possible share with Google drive or one drive .