Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I have this dynamic matrix with dynamic rows. But the problem is when I try to format the measure into currency or percentage, it starts to show not relevant fields.
Attached herewith the pbi file: https://drive.google.com/file/d/1q7_YFhi5GCXBxT-aON6hTKqOGcHAxE8V/view?usp=sharing
Below is the example of without using any format to measure and it shows only relevant fields without blanks.
Below is the example of when I tried to format the measure, showing also not relevant fields or values.
Solved! Go to Solution.
Hi @jovendeluna21 ,
The issue is that when you add the formatting the value returns a text so it's not blank anymore but has a value of empty.
Change you measure to check if the measure is different from blank:
Measure =
SWITCH(
TRUE(),
[USER SELECTION]="AVE PAYMENT TERM-EX247A DAYS (last N months)",[AVE PAYMENT TERM-EX247A DAYS (last N months)],
[USER SELECTION]="AVE PAYMENT TERM-DAYS (last N months)",[AVE PAYMENT TERM-DAYS (last N months)],
[USER SELECTION]="Spend (last N-months)"&& [Spend (last N-months)] <> BLANK() ,FORMAT([Spend (last N-months)], "cURRENCY"),
BLANK())
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @jovendeluna21 ,
The issue is that when you add the formatting the value returns a text so it's not blank anymore but has a value of empty.
Change you measure to check if the measure is different from blank:
Measure =
SWITCH(
TRUE(),
[USER SELECTION]="AVE PAYMENT TERM-EX247A DAYS (last N months)",[AVE PAYMENT TERM-EX247A DAYS (last N months)],
[USER SELECTION]="AVE PAYMENT TERM-DAYS (last N months)",[AVE PAYMENT TERM-DAYS (last N months)],
[USER SELECTION]="Spend (last N-months)"&& [Spend (last N-months)] <> BLANK() ,FORMAT([Spend (last N-months)], "cURRENCY"),
BLANK())
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |