The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi in my previous report they were using caluclated column, that was used in multiple charts, But performence wise it will take time to show the visual. Now i want to change that caluclated column into measure .
i tried multiple ways but wont work. it showing some errors.
This is the caluclated column .
try like this:
LOB =
VAR PROJ=
CALCULATE(
MAX('Wiser Jira Mapping'[Wiser Instance & solution mapping to Jira project]))
VAR CAT=CALCULATE(MAX(DimProjects[CATEGORY])
,FILTER(ALL(DimProjects),DimProjects[NAME]=PROJ))
RETURN
IF(CAT=BLANK(),"NA",CAT)
LOB =
VAR PROJ=
MAX('Wiser Jira Mapping'[Wiser Instance & solution mapping to Jira project])
VAR CAT=CALCULATE(MAX(DimProjects[CATEGORY])
,FILTER(ALL(DimProjects),DimProjects[NAME]=PROJ))
RETURN
IF(CAT=BLANK(),"NA",CAT)
Hi Ahmed,
Its working
but while iam using in matrix(Rows) it wont take the measure
how can i set it into matrix in ROws section
Try and see if this works, by only replacing this line (and keep the rest of the measure code)
VAR PROJ=
SELECTEDVALUE('Wiser Jira Mapping'[Wiser Instance & solution mapping to Jira project])
no not working
result is showing different
User | Count |
---|---|
86 | |
84 | |
36 | |
34 | |
34 |
User | Count |
---|---|
93 | |
79 | |
66 | |
55 | |
52 |