Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
month table.
Dax i used for caculating Count2:
Solved! Go to Solution.
Hi @kundrapakammano ,
Try this:
1. Create a measure.
Measure =
VAR SelectedEndofMonth =
SELECTEDVALUE ( MonthTable[End Of Month] )
RETURN
IF (
SelectedEndofMonth = BLANK (),
1,
IF (
SELECTEDVALUE ( 'Table'[opened_dt] ) <= SelectedEndofMonth
&& (
SELECTEDVALUE ( 'Table'[closed_dt] ) > SelectedEndofMonth
|| SELECTEDVALUE ( 'Table'[closed_dt] ) = BLANK ()
)
&& SELECTEDVALUE ( 'Table'[Included in KPI On Time] ) = TRUE (),
1
)
)
2. Put this measure into "Filters on this visual" field of your table visual and set as "is not blank".
3. Test.
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
This is why your click filter probably isn't working?
There is no relationship between "table1" and "month table".
If there's no relationship between Table 1 and the Date Table, your DAX can read Table 1, but there's no way for a visual to 'remember' a value clicked and re-apply it back to a new table without a relationship?
Forrest
Proud to give back to the community!
Thank You!
I attached the sample file, may be it will give you a overview what iam trying to achieve.Thanks
Hi @kundrapakammano ,
Try this:
1. Create a measure.
Measure =
VAR SelectedEndofMonth =
SELECTEDVALUE ( MonthTable[End Of Month] )
RETURN
IF (
SelectedEndofMonth = BLANK (),
1,
IF (
SELECTEDVALUE ( 'Table'[opened_dt] ) <= SelectedEndofMonth
&& (
SELECTEDVALUE ( 'Table'[closed_dt] ) > SelectedEndofMonth
|| SELECTEDVALUE ( 'Table'[closed_dt] ) = BLANK ()
)
&& SELECTEDVALUE ( 'Table'[Included in KPI On Time] ) = TRUE (),
1
)
)
2. Put this measure into "Filters on this visual" field of your table visual and set as "is not blank".
3. Test.
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
@kundrapakammano , Your expected output is not clear. Based on the data you shared.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
if you want deal with more than one date refer: https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
i am trying to filter table values based on visual.
i am trying to filter values in table based on bars in top visual
https://drive.google.com/file/d/1csFAvXqKZreyiKJKCf1apODNvAFHKdeF/view?usp=sharing
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |