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.
Hi Friends,
This is an extension of the problem here
I am trying to extract SRF's between 2 levels ' Maxheight' and 'MidBot' both of which are stored in 'Bottom_Middle' ..
Now grabbing these 2 values I need to extract SRF's between these 2 levels from a different table
Tower ID | Mass | height | SRF |
123 | Cell 2 | 650 | 0.3 |
123 | Cell 2 | 500 | 0.25 |
123 | Cell 2 | 450 | 0.1 |
123 | Cell 2 | 200 | 0.3 |
123 | Cell 2 | 50 | 0.2 |
MID_Section_SRF_BYLEVEL =
SELECTCOLUMNS(
GENERATE(
SELECTCOLUMNS(
'Bottom_Middle',
"Tower ID",Bottom_Middle[TowerModelId],
"Midtop", Bottom_Middle[MIdtoplevel],
"Midbot",Bottom_Middle[Bottom_Section_Height]
),
VAR MaxHeight = [Midtop]
VAR Midbot=[Midbot]
RETURN
CALCULATETABLE(
SELECTCOLUMNS(
'TowerResultExtremeYielding',
"height", TowerResultExtremeYielding[Level],
"SRF", TowerResultExtremeYielding[Extreme_SRF],
"Loadcase", TowerResultExtremeYielding[LoadCase]
),
TowerResultExtremeYielding[Level] <= MaxHeight && TowerResultExtremeYielding[Level] >=Midbot
)
),
"Tower ID", [Tower ID],
"Height", [height],
"SRF", [SRF],
"Loadcase",[LoadCase]
)
Please help me out here with the filter conditions...
Solved! Go to Solution.
Sorry for the delay. My problem has been solved here below:
Solved: Re: Extraction of Values Between 2 levels - Multip... - Microsoft Fabric Community
I hope this message finds you well. I've noticed that this solution remain unresolved. If any of you have managed to find a resolution to the issue, I kindly request that you share your solution for the benefit of the entire community. Alternatively, if you're still facing challenges, please do let us know as well.
Your insights and updates will greatly assist others who might be encountering the same challenge.
Sorry for the delay. My problem has been solved here below:
Solved: Re: Extraction of Values Between 2 levels - Multip... - Microsoft Fabric Community
@Anonymous Thanks for sharing! It will help everyone else!
Use DAX Studio to evaluate the query plan for your DAX. Then refactor your query to reduce the number of iteration/cartesians.
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |