Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Team,
Below is my data set. I have 2 calculated measures. Please advice how to achieve CALCULATED MEASURE 2
CALCULATED MEASURE 1:
Max of COLUMN C by COLUMN A and COLUMN B
CALCULATED MEASURE 2:
COLUMN C= CALCULATED MEASURE 1
Data Set:
Solved! Go to Solution.
can we create two columns for this?
Column = CALCULATE(MAX('Table'[C]),ALLEXCEPT('Table','Table'[A],'Table'[B]))
Column 2 = if('Table'[C]='Table'[Column],True,FALSE)
Proud to be a Super User!
@BSM1985
Here are the 2 measures
Measure 1 =
CALCULATE(
MAX('Table'[COLUMN C]),
ALLEXCEPT('Table','Table'[COLUMN A],'Table'[COLUMN B])
)Measure 2 =
IF(
MAX('Table'[COLUMN C] ) = [Measure 1],
TRUE(),
FALSE()
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
can we create two columns for this?
Column = CALCULATE(MAX('Table'[C]),ALLEXCEPT('Table','Table'[A],'Table'[B]))
Column 2 = if('Table'[C]='Table'[Column],True,FALSE)
Proud to be a Super User!
Thanks a lot @ryan_mayu ,
Will it be possible to have this solution in 1 calculated measure for 2 reasons below?
1. We have very big model which is of 500 MB in size. When I tried with calcualted field which is the final field, its keep on loading for long time
2.As per client request, we would like to minimize the number of calcualted fields.
Please advice if we can achieve this with 1 calculated measure. Thank you.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |