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!!
Can anyone please tell me how to get date value for each row of table in a measure with some filters?
Thanks
@Anonymous , Each row in case measure measure you have display as each row or force calculation from each low
like
Sumx(Values(Table[ID]),[Measure])
This forcing to calculation to happen from ID level
Between two tables
@amitchandak my scenerio is a little bit different. I am selecting a date from slicer which is the end date of each month and i want to subtract that date to each row of its connected accumlative fact table date coloumn.
How can I achive this?
thanks for your help and for your reply
Hi @Anonymous ,
Looks like you want to get the day diff between the slicer date and fact date, you can create a measure like this:
Result date =
DATEDIFF (
SELECTEDVALUE ( 'Fact date'[date] ),
SELECTEDVALUE ( 'Date'[date] ),
DAY
)
Attached a sample file in the below, hopes to help you.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |