March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi, In the above choice group Ther are 4 options of which 3 have a value, however, Not Applicable has no value.
I have created the following measure
Max Unit Corrected =
SUMX(
SUMMARIZE(data_formanswer,
data_formanswer[data_name],
data_formanswer[data_answerchoiceid],
"Max Unit Corrected",
MAX(data_formchoiceitem[data_value])),
[Max Unit Corrected])
to calculate the Max score but if there is s choice group containing N/A then I want to remove all scoring from the maximum amount (see actual current max values below.
@James_Ma
try this
Max Unit Corrected =
SUMX(
FILTER(
SUMMARIZE(
data_formanswer,
data_formanswer[data_name],
data_formanswer[data_answerchoiceid],
"Max Unit Corrected", MAX(data_formchoiceitem[data_value])
),
[data_answerchoiceid] <> BLANK() && [data_answerchoiceid] <> "Not Applicable"
),
[Max Unit Corrected]
)
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
Hi @James_Ma ,
Can you provide simple data for table 'data_formanswer','data_formchoiceitem' and present the expected results as a picture?
If you are unsure how to upload data please refer to
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Best Regards,
Wenbin Zhou
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
84 | |
66 | |
54 | |
43 |
User | Count |
---|---|
203 | |
106 | |
98 | |
65 | |
56 |