Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Everyone!!
I am trying to calculate a measure in which i am trying to calculate date difference between two coloumns that are present in seperate diffrent tables in star schema. One is date Dimension in which last date of each month is present and the other is accumulating fact table in which dates are present with respect to work flow.
Now what I am trying to do is to get date difference of one date coloumn from fact table to that of data coloumn from date dimension.
currently i am using this dax farmula
Solved! Go to Solution.
@Anonymous , Is the date table joined with Fact RC date ?
Because then it will same date
In a measure to take a date diff you need three thing
1 . Min of smaller date
2. Max of bigger date
3. A common group by (In this case it may be an Id from fact), That is forced using values or summarize
refer to my blog - https://community.powerbi.com/t5/Community-Blog/Decoding-Direct-Query-in-Power-BI-Part-2-Date-Difference-Across/ba-p/934397#M451
or
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@Anonymous , Is the date table joined with Fact RC date ?
Because then it will same date
In a measure to take a date diff you need three thing
1 . Min of smaller date
2. Max of bigger date
3. A common group by (In this case it may be an Id from fact), That is forced using values or summarize
refer to my blog - https://community.powerbi.com/t5/Community-Blog/Decoding-Direct-Query-in-Power-BI-Part-2-Date-Difference-Across/ba-p/934397#M451
or
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |