Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear Helper,
I have two tables , data table,Calendar and related each others.Data table like:
i want to get two measures(Measure start and Measure End). and output will be: on selected date or last value by Order_date from each Sub category where Category=7 and using date slicer.
For example: if i select date ranges like:
how can i achieve this using Dax ?
Hi @jyaul786
Can you elaborate more how exactly you need measures?
I was not able to understand how these highlighted values are calculated.
as 0 does nor exists at all and 15 is value from 29 Dec which is out of range.
Thanks,
Sayali
Proud to be a Super User!
if there is no value on date selected or before then 0 .
and for the C, there is no any value on date 30/12/2023 so output will have last value i.e. 15.
Summary , if there are no value on selected date then measure will be last(back) value by date for each sub category.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
71 | |
37 | |
31 | |
27 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
36 |