Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi
I have two tables: 1 is an activity table and 1 is a history table. They are linked by unique GUIDs. If I display a visual and sum a column from the activity table and apply a filter, I get the correct data (i.e. returns 3 entries). If I use the following measure, it returns only 2 (essentially ignores one fo them):
Solved! Go to Solution.
I'd respond in case anyone encounters the same issue. I fixed it by wrapping the filter table in ALL(), can only assume SOMETHING was impacting on the data being filtered, but this did the trick:
calculate(
sum(BI_Fact_Activity[VacancyAddedCount]),
filter(
ALL(BI_Vacancy),
BI_Vacancy[eDate] = DATE(2222,02,22)
)
)
I'd respond in case anyone encounters the same issue. I fixed it by wrapping the filter table in ALL(), can only assume SOMETHING was impacting on the data being filtered, but this did the trick:
calculate(
sum(BI_Fact_Activity[VacancyAddedCount]),
filter(
ALL(BI_Vacancy),
BI_Vacancy[eDate] = DATE(2222,02,22)
)
)
not sure if i understand what you want to achieve,but
assuming bi_vacancy is linked to bi_fact_activity with a 1-many relationship going towards the bi_fact_activity,
Thanks for the reply.
Unfortunately, that didn't work. Simply returned a blank
What further information would you need?
Hi,
Share the download link of the PBI file and show the expected result very clearly.
HI @danjswade,
You can try to use following measure if it suitable for your requirement:
formula =
CALCULATE (
SUM ( BI_Fact_Activity[VacancyAddedCount] ),
FILTER ( ALLSELECTED ( BI_Vacancy ), BI_Vacancy[eDate] = DATE ( 2222, 02, 22 ) )
)
Regards,
Xiaoxin Sheng
User | Count |
---|---|
116 | |
73 | |
61 | |
48 | |
47 |
User | Count |
---|---|
173 | |
123 | |
60 | |
59 | |
57 |