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.
Hello
I want to use a DAX measure (not a calculated column) as a fourth column (outlined in red, below) within a table visualisation.
However, my DAX only returns the single row:
DAX =
VAR varStatusGroup = "Final"
VAR varStatus = "Disposed"
RETURN
CALCULATE (
MIN('Status'[Status])
,KEEPFILTERS('Status'[Status group] = varStatusGroup)
,KEEPFILTERS('Status'[Status] = varStatus)
)
What am I doing wrong?
I want:
Data model:
Hi @noneother
Based on your post and dax you shared, you want to show "Disposed" in the fourth column, so if I got it correctly, try this:
DAX =
"Disposed"
Otherwise, can you please add more details?
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
@noneother does this work?
CALCULATE (
MIN('Status'[Status])
,'Status'[Status group] = "Final"
,'Status'[Status] = "Disposed"
)
That works but I introduces redundant rows, creating way more than the original 5 rows for Type ID: AEG3ML
@noneother is it kindly possible to provide a sample pbix please?
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |