Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have this column in powerbi, a concatenation of my FY column which is the fiscal year that consists FY24 and FY25, and Period column which consists of P1 to P12. I also created a Period Number Column that extracts the numbers in the Period Column. So if the period is P12, the period number column on that row is 12.
I want to add another column that indicates Yes or No based on the selected value on the Period slicer in the dashboard. Please someone save me.
Example: If I have selected P5 in the slicer, then FY25 - P5 down to FY25 - P1 rows will have "Yes" value in that new column.
This is what I've tried and did not work.
Created a measure:
That won't work because calculated columns and tables do not respond to slicer selections. While they can influence what is displayed in the report view, they do not dynamically change within the model. In a calculated column, SELECTEDVALUE will either return blank or the alternate result. To achieve dynamic values that respond to slicer selections, measures must be used within visuals. Additionally, a separate column in the fact Continuous Period table is needed to store the period as a number, along with a disconnected table whose column will be used in a slicer to ensure all periods remain visible. Using a column from a related table restricts the visible rows to only those selected.
Please see the attached sample pbix.
Hi @JofrainVisda ,
Has your issue been resolved? If a community member's response addressed your query, please consider marking it as Accepted Answer and click Yes if you found it helpful.
If you have any further questions, feel free to reach out.
Thank you for being a valued member of the Microsoft Fabric Community Forum!
Hi @JofrainVisda ,
We haven’t heard back from you regarding our previous response and wanted to check if your issue has been resolved.
If it has, please consider clicking “Accept Answer” and “Yes” if you found the response helpful.
If you still have any questions or need further assistance, feel free to let us know — we're happy to help!
Thank you!
Hi @JofrainVisda ,
Just checking in @danextian @Deku has shared a response to your query regarding configuring the slicer so that it dynamically filters clients based on the date range selected in your visual.
If the provided solution helped, please consider marking it as Accepted Answer, as it may also benefit others facing a similar challenge. If you're still looking for more clarity or facing issues, feel free to share more details — we’re happy to assist further.
Thank you for being part of the Microsoft Fabric Community!
Calculated columns and tables are generate on semantic model refresh. Slicer selection will have no effect, on these
Hi @JofrainVisda
Can you please try the below DAX.
output =
VAR SelectedPeriod = MAX('Table'[Period Number])
RETURN
IF(
MAX('Table'[Period Number]) <= SelectedPeriod,
"Yes",
"No"
)
If you found this post helpful, please accept it as the solution.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.