Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a simple measure that counts the number of enrollments for three unique periods, Fall, Spring and Summer. Using SelectedValue I can tell what priod has been requested and only want to return those entries. My measure is as follows and I would like to substitute the term variabale (Fall, Spring or Summer) in the FIlter line.
I have have no sucesss, if you enter "Fall" it works great, so I need a method to have Quotiations in the substution,
CALCULATE(COUNTROWS(Enrollment),
Amy and all suggestions willbe greatly appreciated.
Solved! Go to Solution.
Hi @Anonymous
manually create 'Terms' a disconnected single column table that contains fall, spring, summer
in the measure define the variable
VAR _term = SELECTEDVALUE ( Terms[Term] )
Hi @Anonymous
manually create 'Terms' a disconnected single column table that contains fall, spring, summer
in the measure define the variable
VAR _term = SELECTEDVALUE ( Terms[Term] )
tamerj1,
Thank you very much for your quick reply,
I made a quick test and am still having an issue.
Here are the steps I have taken.
I have to assume the only two items that are causing the problem is that created the Term table incorrectly, or something else needs to done to handle the quotation marks.
I really appreciate your time with this issue, it appears to be a simple problem , unfortunately I have not been able to find the answer,
Pjb120
@Anonymous
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
8 | |
8 | |
6 | |
5 |
User | Count |
---|---|
17 | |
14 | |
10 | |
9 | |
8 |