答案 0 :(得分:0)
设置一个参数(即“PSource”),其中包含您想要拥有的所有值(原始加上组),并确保它显示在工作表或仪表板上。创建一个计算字段(即“CSource”),其中“Source”是数据中包含原始值的字段的假定名称:
CASE [PSource Parameter]
WHEN "Online (All)" THEN IIF(FIND("App/Desktop Browser/Mobile Browser",[Source])>0,"T","F")
WHEN "Offline (All)" THEN IIF(FIND("Kiosk/Pos",[Source])>0,"T","F")
WHEN "App" THEN IIF([Source]="App","T","F")
WHEN "Desktop Browser" THEN IIF([Source]="Desktop Browser","T","F")
WHEN "Mobile Browser" THEN IIF([Source]="Mobile Browser","T","F")
WHEN "Kiosk" THEN IIF([Source]="Kiosk","T","F")
WHEN "Pos" THEN IIF([Source]="Pos","T","F")
END
将CSource拖放到Filters架子上并选择“T”值。