Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
hiii,
I have this measure,
Gain / Loss = IF(COUNT('Sample Transactions'[Buy/sell reference])= -1, SUM('Sample Transactions'[Total Trade Price*])-SUM('Price'[PRICE] ) / SUM('Price'[PRICE]), IF(COUNT('Sample Transactions'[Buy/sell reference])=1, -1*(SUM('Sample Transactions'[Total Trade Price*])-SUM('Price'[PRICE])) / SUM('Price'[PRICE]),""))
I am not sure how to make this measure summarize since under the measure tools>properties don't have the summarize option. In order for me to put it in the card visualisation, because currently since my measure is not summarized, the card indicates blank visualisation.
Can someone help me? Thank in advance!
Solved! Go to Solution.
Hi @camelia_,
You may try create a new measure to complete the summarize for you.
Summarized_Gain/Loss = SUMX('Sample Transactions',[ConditionalSum])
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please provide some sample data in your tables and let me know their relationships. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
Hi @camelia_,
You may try create a new measure to complete the summarize for you.
Summarized_Gain/Loss = SUMX('Sample Transactions',[ConditionalSum])
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please provide some sample data in your tables and let me know their relationships. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |