The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
76 | |
65 | |
52 | |
51 |
User | Count |
---|---|
128 | |
117 | |
78 | |
65 | |
63 |