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 August 31st. Request your voucher.
Hi Guys,
Newbie here, is there anyone here who can help me to get the last task based on the date using a measure and show it in a card ?
My datasource is a streaming dataset feeding data from power apps.
OR
If its possible to create a URL filter that will show the same output. That would be match better as I want to show the last task entered by the user thats been using the app.
Thank you so much guys!
Solved! Go to Solution.
Hi @Anonymous ,
After we enable the historic data analysis of streaming dataset, we can create measure in Power BI Desktop.
Measure LastDate =
CALCULATE (
MAX ( 'Table'[Task] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Date] = CALCULATE ( MAX ( 'Table'[Date] ), ALLSELECTED ( 'Table' ) )
)
)
Best regards,
Hi @Anonymous ,
Sorry for that we forgot to mention how to connection this dataset from Desktop, we do not need to download pbix, we can find the dataset connector in Get Data. Then you can search for the streaming dataset
Best regards,
Hi @Anonymous ,
After we enable the historic data analysis of streaming dataset, we can create measure in Power BI Desktop.
Measure LastDate =
CALCULATE (
MAX ( 'Table'[Task] ),
FILTER (
ALLSELECTED ( 'Table' ),
'Table'[Date] = CALCULATE ( MAX ( 'Table'[Date] ), ALLSELECTED ( 'Table' ) )
)
)
Best regards,
Also, the download report is disabled.
Hi @Anonymous ,
Sorry for that we forgot to mention how to connection this dataset from Desktop, we do not need to download pbix, we can find the dataset connector in Get Data. Then you can search for the streaming dataset
Best regards,
Hi Dong,
Thanks for this guys, this will help me with most of my projects in the future.
Thank you so much!
Hi V,
My historic data analysis is already enabled but still whenever I am editing the report the options to add measure is still not there.