Dynamic Format Strings Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Design and Build Semantic Models

What you'll be asked

  1. Which feature in Power BI allows you to change the format string of a measure based on a selection or a calculation?
  2. When configuring a dynamic format string for a measure, what is the required return type of the DAX expression used in the 'Format' property?
  3. You want to display a measure as a currency when the user selects 'USD' and as a percentage when they select 'Ratio'. Which DAX function is most appropriate to use within the Dynamic Format String expression?
  4. If you have a dynamic format string applied to a measure, what happens if the DAX expression returns an invalid format string?
  5. You are implementing a dynamic format string that needs to handle both currency and whole numbers based on a slicer. You use the expression: SWITCH(SELECTEDVALUE('Table'[Type]), "Currency", "$#,##0.00", "Units", "#,##0"). Why might this fail to update correctly in a visual?

Answers and explanations come after you submit.