I know this isn't an SSAS question, but it has to do with DAX and I figured this was the best place to ask it. I am new to DAX and am working on a Power BI report and need to need to create a calculation to determine a benchmark score. I am not sure if there is a built in DAX function that fit this need or not and am looking for feedback from the community. Below is an example of what I am needing to do.I have the following columns in the database table: term and LNFIf the term = 1 and the LNF is between 0-2 the resulting value should be a 1. If the LNF is between 3-10 it should be a 2. If the LNF is 11 or above it should be a 3.If the term = 2 and the LNF is between 0-17 the resulting value should be a 1. If the LNF is between 18-29 it should be a 2. If the LNF is 30 or higher it should be a 3.Like I said, I'm sure there is probably a DAX function that will work for this, but I'm not even sure how to search for it. Thank you for any help you provide.
↧