The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I have a table with hodometers for trucks, i need to find the difference (kilometers) between rows as an income criteria date, additionally the tables are in import mode, but it would be great to work in directquery mode
Aplly this foumula but it does not generate an error not does it generate data, everything is blank
the data is:
Solved! Go to Solution.
Hi @Daniels2204 ,
You cna have a lok at this blog to get your previous values.
Regards,
Harsh Nathani
@Daniels2204 , If you are on direct Query? Replace earlier with max and Try as a measure.
Can you share sample data and sample output in table format? and confirm that you are on direct query. I will try by loading this to DB
Hi @Daniels2204 ,
You cna have a lok at this blog to get your previous values.
Regards,
Harsh Nathani
@Daniels2204 - Wait, I just realized that you are in DirectQuery and you are thus creating a measure and not a calculated column. That's a pretty significant difference. Is that an accurate statement?
Hi, @Greg_Deckler
Thank you very much for your interest, I´m in duplex mode and I´m not taking measurements, only columns
@Daniels2204 - Looks like you are following the pattern similar to here which uses EARLIER: http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/3395...
Can't see your DATE_IN column so maybe the issue is there? The overall approach seems valid likely an issue with your FILTER I am guessing.
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
12 | |
9 | |
7 |