Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hi Experts
See model below (image) - I am using date_day from 02 | Calendar table as a date between filter and Products from dev_con_hcp_universe table - but i am unable to filter the matrix table as shown below when i select a particular product from the drop down slicer...
Relationship links
02 | Calendar Table link to Dev_con_consent via Day_id to Capture_day_id
Dev-con_consent links to Dev_con_hcp_universe via Crmf_hcp_id to Crrmf_hcp_id (many-to-many)
Model:
Table not filtering
HCP Type (dev_con_hcp_universe) Table and Month from 02 | Calendar Table
Measure(s) used in matrix Table:
Solved! Go to Solution.
Hi, @Invesco
Try this.
Measure =
VAR EndConsentdate =
MAX ( '02 | Calendar'[day_date] )
VAR StartConsentdate =
MIN ( '02 | Calendar'[day_date] )
RETURN
IF (
SELECTEDVALUE ( dev_con_consent[capture_day_date] ) <= EndConsentdate
&& SELECTEDVALUE ( dev_con_consent[expiration_day_date] ) > StartConsentdate,
1,
0
)
Best Regards
Hi, @Invesco
You can try the following methods.
Measure =
VAR EndConsentdate =
MAX ( '02 | Calendar'[day_date] )
VAR StartConsentdate =
MIN ( '02 | Calendar'[day_date] )
RETURN
IF (
dev_con_consent[capture_day_date] <= EndConsentdate
&& dev_con_consent[expiration_day_date] > StartConsentdate,
1,
0
)
Place this measure in the Filter of the matrix view and set it equal to 1. See if the matrix view changes with the date slicer.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Getting the following error message
Hi, @Invesco
Try this.
Measure =
VAR EndConsentdate =
MAX ( '02 | Calendar'[day_date] )
VAR StartConsentdate =
MIN ( '02 | Calendar'[day_date] )
RETURN
IF (
SELECTEDVALUE ( dev_con_consent[capture_day_date] ) <= EndConsentdate
&& SELECTEDVALUE ( dev_con_consent[expiration_day_date] ) > StartConsentdate,
1,
0
)
Best Regards
Many Thanks
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!