Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Now, my calculated table looks like this:
FRU Status intermediate table =
ADDCOLUMNS(
VALUES('All Project v2'[Project Name]),
"Flag", [stat chart]
)
VALUES() here returns all values of the [Project Name] column.
I need it to return values based on the column 'All Project v2'[Dashboard Created] = "Yes", so if the 'project' has 'dashboard' - return the column.
Solved! Go to Solution.
FRU Status intermediate table =
ADDCOLUMNS (
CALCULATETABLE (
VALUES ( 'All Project v2'[Project Name] ),
'All Project v2'[Dashboard Created] = "Yes"
),
"Flag", [stat chart]
)
Hi @Anonymous
please try
FRU Status intermediate table =
SUMMARIZE (
FILTER ( 'All Project v2', 'All Project v2'[Dashboard Created] = "Yes" ),
'All Project v2'[Project Name],
"Flag", [stat chart]
)
Hi @Anonymous
please try
FRU Status intermediate table =
SUMMARIZE (
FILTER ( 'All Project v2', 'All Project v2'[Dashboard Created] = "Yes" ),
'All Project v2'[Project Name],
"Flag", [stat chart]
)
I tried it, and it works fine, but it doesn't solve the further problem...
Well, technically, you guys gave me the solution, so...
FRU Status intermediate table =
ADDCOLUMNS (
CALCULATETABLE (
VALUES ( 'All Project v2'[Project Name] ),
'All Project v2'[Dashboard Created] = "Yes"
),
"Flag", [stat chart]
)
It does work, yes. But a new problem arose: I can't create a relationship with the table I am pulling columns from due to circular dependency.
With Values() it doesn't have CD
use DISTINCT instead of VALUES
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
9 | |
7 |