TE3 Measure do not display in PB Desktop #1422
10xape
started this conversation in
Data Modeling
Replies: 1 comment 2 replies
|
I'm sorry, but I don't understand what you're asking. Could you please clarify / add more details and perhaps a screenshot to help us understand the issue? Thank you. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Hi
I have created measure in the workspace mode and it does not display in visual in opposite to excact the same emasure created in Power BI Desktop connected directly to the model. What would be the possible issue?
-- Measure: [Prev_Cap_IntraDay]
MEASURE '1_Measures'[Prev_Cap_IntraDay] =
VAR CurrentLabel = SELECTEDVALUE( pc_cmc_cap_bridge_PQ2[time_label] )
VAR CurrentToken = SELECTEDVALUE( pc_cmc_cap_bridge_PQ2[token_id] )
VAR CurrentDate = SELECTEDVALUE( pc_cmc_cap_bridge_PQ2[refresh_date] )
VAR PrevDayCap =
CALCULATE(
MAX( pc_cmc_cap_bridge_PQ2[cap_final] ),
FILTER(
ALL( pc_cmc_cap_bridge_PQ2 ),
pc_cmc_cap_bridge_PQ2[token_id] = CurrentToken && pc_cmc_cap_bridge_PQ2[refresh_date] = CurrentDate - 1
&& pc_cmc_cap_bridge_PQ2[time_label] = 6
)
)
RETURN
IF(
CurrentLabel = 1,
PrevDayCap, -- Fallback to previous day's time_label = 6
CALCULATE(
MAX( pc_cmc_cap_bridge_PQ2[cap_final] ),
FILTER(
ALL( pc_cmc_cap_bridge_PQ2 ),
pc_cmc_cap_bridge_PQ2[token_id] = CurrentToken && pc_cmc_cap_bridge_PQ2[refresh_date] = CurrentDate
&& pc_cmc_cap_bridge_PQ2[time_label] = CurrentLabel - 1
)
)
),
DisplayFolder = "1_measures\pc_cmc_cap_bridge_PQ2"
All reactions