Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I got the following issue. I have to show a table with the values per year and I also have to show the sum of them.
In order to consider a currency translation I am using the following measure to show the data:
I would really appreciate your help....!!!!
Solved! Go to Solution.
Hi @Anonymous, Try this.
Hi @Anonymous ,
Since there is no specific pbix file for you, you can refer to my similar template data below.
It showed me 2+2=3, on total,but I want to show here 4.
base data:
measure:
visit(cal) = DISTINCTCOUNT(Spending[date])
Visit = VAR _table = SUMMARIZE(Spending, Spending[member_number], "distinctcount", DISTINCTCOUNT(Spending[date]))
RETURN
SUMX(_table, [visit(cal)])
Final I create another measure:
test = if(HASONEVALUE(Spending[branch_name]),[visit(cal)],SUMX(DISTINCT(Spending[branch_name]),[visit(cal)]))
Output:
You could adjust on my sample .And if question still not solved ,could you pls share your pbix file ,and remember to remove confidential data.
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Hi @Anonymous, Try this.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
95 | |
79 | |
52 | |
49 | |
47 |