We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello everyone!
Any help here is appreciated! Considering the following table example:
The current report is running the VALUE column with a standard SUM formula and is filtered by the COUNTRY column with a filter visualization.
I'd like to know if it's possible (and how to) to add on the formula the following context: if the filter equals "Brasil" then add 100.
Thx in advance,
Diego
Solved! Go to Solution.
Hi @Tulio_DL,
Please new a measure:
Total Value =
IF (
CALCULATE ( ISFILTERED ( Table1[Country] ), ALLSELECTED ( Table1 ) ),
IF (
SELECTEDVALUE ( Table1[Country] ) = "Brazil",
SUM ( Table1[Value] ) + 100,
SUM ( Table1[Value] )
),
SUM ( Table1[Value] )
)
Best regards,
Yuliana Gu
Hi @Tulio_DL,
Please new a measure:
Total Value =
IF (
CALCULATE ( ISFILTERED ( Table1[Country] ), ALLSELECTED ( Table1 ) ),
IF (
SELECTEDVALUE ( Table1[Country] ) = "Brazil",
SUM ( Table1[Value] ) + 100,
SUM ( Table1[Value] )
),
SUM ( Table1[Value] )
)
Best regards,
Yuliana Gu
Hello Shantanu!
Thank you for participating man, what you've said is a way to do the trick.... But I still need to know if there's a way to do what I've pointed out on the original post because my data table is a lot more complex than this example.
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 54 | |
| 39 | |
| 34 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 62 | |
| 38 | |
| 34 | |
| 22 |