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.
Hello Power BI Community,
I am encountering an issue with a measure from Table1 when I try to use it in Table2. I have a table (Table1) with a measure that works fine, and I want to use that measure in another table (Table2) that contains multiple columns, including a DateTime column.
Any help or insights would be greatly appreciated!
Thank you in advance!
Solved! Go to Solution.
Thanks, this helped. Eventually had to replace all measures with columns on existing table and had to use removefilters for datatime column. that fixed the context issue.
Hi, @sgajjar
Make sure that the DateTime column of Table2 has the correct relationship with Table1 or the date table. If you're using a separate date table, check that the two are correctly related by the date field. If Table2 filters Table1, ensure that the relationship is one-way (usually from the date table to the fact table) to prevent conflicts caused by two-way filtering.
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @sgajjar
Adding a DateTime column can alter row context, breaking measures due to filter propagation.
The DateTime column introduces finer granularity, changing row context and impacting the measure's evaluation.
To resolve without removing the DateTime column, use CALCULATE with REMOVEFILTERS or aggregate the DateTime column to reduce granularity
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance
Thanks, this helped. Eventually had to replace all measures with columns on existing table and had to use removefilters for datatime column. that fixed the context issue.
User | Count |
---|---|
77 | |
70 | |
68 | |
53 | |
48 |
User | Count |
---|---|
45 | |
38 | |
35 | |
31 | |
28 |