Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
I have managed to get to this data shown using a Paginated Report table, but only want the values in blue circles. Below is another table in crystal that shows the data that needs to be matched. The crystal report has a aging criteria that says <=180. Is there a way to obtain the results in the blue circles?
SELECT distinct
T_SMPL.SMPL_ID,
T_SMPL.SMPL_MIX_ID,
T_SMPL.SMPL_DT,
TO_DATE(SMPL_DT,'YYYYMMDD') smpl_dt_disp,
to_date(:D) - TO_DATE(T_SMPL.SMPL_DT,'YYYYMMDD') Days_Between,
T_PCC.MIX_ID
FROM
SM_ADMIN.T_SMPL T_SMPL
INNER JOIN SM_ADMIN.T_PCC T_PCC ON T_SMPL.SMPL_MIX_ID = T_PCC.MIX_ID
WHERE
TO_DATE(SMPL_DT,'YYYYMMDD')<= (:D)
AND
(
'Z' IN (:MIXID) OR
T_PCC.MIX_ID IN (:MIXID)
)
Solved! Go to Solution.
Hi @ResearchDev ,
1. Modeled in Power BI Desktop, uploaded to Service. then used the dataset as the data source and filtered it with DAX language.
2. Use hidden report parameters that have default values populated by a second dataset. Then use the hidden report parameters in the filter expression.
Sample parameter:
Filter Expression:
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks so much for the help. I managed to get someone to assist on this who rewrote the entire thing using SQL instead. I will try to post that as well sometime.
Hi @ResearchDev ,
1. Modeled in Power BI Desktop, uploaded to Service. then used the dataset as the data source and filtered it with DAX language.
2. Use hidden report parameters that have default values populated by a second dataset. Then use the hidden report parameters in the filter expression.
Sample parameter:
Filter Expression:
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
68 | |
67 | |
41 | |
41 |
User | Count |
---|---|
48 | |
44 | |
29 | |
28 | |
28 |