# Cannot bind text to a Stat Viewmodel

**URL:** <https://forums.unrealengine.com/t/cannot-bind-text-to-a-stat-viewmodel/2211910>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [December 12, 2024, 1:40pm UTC](https://forums.unrealengine.com/t/cannot-bind-text-to-a-stat-viewmodel/2211910 "2024-12-12T13:40:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wertandrew](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wertandrew/32/916192_2.png) [@Wertandrew](https://forums.unrealengine.com/u/Wertandrew)\
**Post date:** [December 12, 2024, 1:40pm UTC](https://forums.unrealengine.com/t/cannot-bind-text-to-a-stat-viewmodel/2211910/1 "2024-12-12T13:40:19Z")

</div>

### Summary

You cant have text showing the stat device HUD as a custom ViewModel atm. You get the error:

Binding ‘UEFN\_TextBlock\_C.Text ← MVVM\_UEFN\_Stat.Value’: Could not create binding. The source property ‘Value’ (int64) does not match the type of the destination property ‘Text’ (FText). A conversion function is required.

### Please select what you are reporting on:

Unreal Editor for Fortnite

### What Type of Bug are you experiencing?

Devices

### Steps to Reproduce

Create a new widget  
Add the Stat viewmodel  
Add a text block  
Bind the text block text to the viewmodel’s current value  
compile

### Expected Result

they are binded with no compilation error

### Observed Result

Compilation error. Since we only have access to string values, we cannot fix

### Platform(s)

PC

### Upload an image

 ![UnrealEditorFortnite-Win64-Shipping_QkBB42OrdM.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/3/b53f78893132faff8b00613cde17da57ba6c4034.png)

---

<div class="post-metadata">

**Author:** ![AtAshTag](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/atashtag/32/997253_2.png) [@AtAshTag](https://forums.unrealengine.com/u/AtAshTag)\
**Post date:** [December 12, 2024, 1:46pm UTC](https://forums.unrealengine.com/t/cannot-bind-text-to-a-stat-viewmodel/2211910/2 "2024-12-12T13:46:41Z")

</div>

This is how i did it some conversion thing check this it might be how the default way is

---

<div class="post-metadata">

**Author:** ![Wertandrew](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wertandrew/32/916192_2.png) [@Wertandrew](https://forums.unrealengine.com/u/Wertandrew)\
**Post date:** [December 12, 2024, 1:49pm UTC](https://forums.unrealengine.com/t/cannot-bind-text-to-a-stat-viewmodel/2211910/3 "2024-12-12T13:49:23Z")

</div>

You legend, thanks!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [January 11, 2025, 1:49pm UTC](https://forums.unrealengine.com/t/cannot-bind-text-to-a-stat-viewmodel/2211910/4 "2025-01-11T13:49:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
