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.
Hi,
Can we dynamically populate a calculated table according to the selected date range.
For Eg.
Date, Id, Name
1 Jan 2020, 1, A
2 Jan 2020, 1,A
3 Jan 2020, 1, B
4 Jan 2020, 1,B
1 Jan 2020, 2, AA
2 Jan 2020, 2,AA
3 Jan 2020, 2, BB
4 Jan 2020, 2,BC
With the above data I need to populate a dynamic table where it retrieves only the values of selected date in a slicer. Also note that my scenario doesn't allow date column as a slicer. So I need to pass this selected value as a measure which filters the dynamic table.
Regards,
Jishnu
Thank you Daxer. I understand that this isn't possible but was looking if there is a way to implement the solution for the problem.
Hi @Anonymous ,
When you change the value of slicers , the value generated is dynamic.
You cannot pass this to a Table for a Calculated Column.
Slicers cannot be used in calculated columns. They can, however, be used in measures.
Slicers are Filters, use filter context. Filters can change dynamically based on what is selected, and how filter interactions are defined. Since measures are dynamic fields calculated on demand, they can leverage this filter context to shape results.
Then we get to calculated columns. Calculated columns use row context. They are populated once at data refresh, and don't update again. If you change interactions, change slicers, the underlying row context and any calculations performed at load would be unaffected.
https://community.powerbi.com/t5/Desktop/Using-Slicer-values-in-a-calculated-column/td-p/106354
Regards,
Harsh Nathani
Thank you Harsh. You've well explained the context. I was wondering if this too can be overridden using some strategy and looks like it can't be.
Regards,
Jishnu
Hi Jishnu,
Very confusing.
retrieves only the values of selected date in a slicer. Also note that my scenario doesn't allow date column as a slicer. ??
Can you explain a little better?
Regards,
Harsh Nathani
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 |
---|---|
47 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
55 | |
48 | |
43 | |
19 | |
19 |