The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
The problem when it we selecT yes it is showing correct data , when we press No , it is exculding the current quarter data :
Thr requirement when selected current Yes display only current quarter , when selected No display all quarters including current quarter .
Solved! Go to Solution.
@Anonymous Make your Yes/No slicer into a 2 rows in a disconnected table. Then construct a measure like:
Measure =
VAR __Current = SELECTEDVALUE('ParameterTable'[Column])
VAR __Value = IF(
__Current = "Yes",
SUMX(FILTER('Table',[Current Quarter] = "Yes"),[Value]
SUM('Table'[Value])
)
RETURN
__Value
@Anonymous Make your Yes/No slicer into a 2 rows in a disconnected table. Then construct a measure like:
Measure =
VAR __Current = SELECTEDVALUE('ParameterTable'[Column])
VAR __Value = IF(
__Current = "Yes",
SUMX(FILTER('Table',[Current Quarter] = "Yes"),[Value]
SUM('Table'[Value])
)
RETURN
__Value
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |